From f109a7f75ddc1bbec14df4b92efc01bae208ad8c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 20 六月 2024 17:54:36 +0800 Subject: [PATCH] 答题器优化 --- src/main.js | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/main.js b/src/main.js index 17ec245..a647faf 100644 --- a/src/main.js +++ b/src/main.js @@ -1,12 +1,6 @@ import Vue from "vue"; import App from "./App.vue"; import less from "less"; -// 瀛﹀墠鍎跨鍗敓涓庡仴搴� - - -// import './books/content/css/default.less'; -// 宓屽叆寮忕粍鎬佹帶鍒舵妧鏈� -// import './books/embedded/assets/main.less'; import ElementUI from "element-ui"; import "element-ui/lib/theme-chalk/index.css"; import store from "./store"; @@ -16,6 +10,7 @@ // 鑷畾涔夐厤缃� import config from "@/assets/js/config"; Vue.prototype.config = config; +// Vue.prototype.thisBookConfig = await config.getBookConfig(); // 璇锋眰澶勭悊 import MG from "@/assets/js/middleGround/WebMiddleGroundApi"; @@ -62,9 +57,9 @@ store.commit("setQiankun", state); }); - props.setGlobalState({ - state: 3, // 搴旂敤鎸傝浇瀹屾垚锛屽悓鏃剁敤浜庤Е鍙戜竴娆tateChange灏唖tate鎸傝浇鍦╲uex褰撲腑 - }); + // props.setGlobalState({ + // state: 3, // 搴旂敤鎸傝浇瀹屾垚锛屽悓鏃剁敤浜庤Е鍙戜竴娆tateChange灏唖tate鎸傝浇鍦╲uex褰撲腑 + // }); render(props); } -- Gitblit v1.9.1