zhongshujie
2024-12-31 27fe2b1e2c8d6c9dc670a8e56141564e946f1248
src/main.js
@@ -4,13 +4,15 @@
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import store from "./store";
// 公式输入
import { MathfieldElement } from "mathlive"
Vue.config.productionTip = false;
// 自定义配置
import config from "@/assets/js/config";
Vue.prototype.config = config;
Vue.prototype.thisBookConfig = await config.getBookConfig();
// Vue.prototype.thisBookConfig = await config.getBookConfig();
// 请求处理
import MG from "@/assets/js/middleGround/WebMiddleGroundApi";
@@ -57,9 +59,9 @@
    store.commit("setQiankun", state);
  });
  props.setGlobalState({
    state: 3, // 应用挂载完成,同时用于触发一次stateChange将state挂载在vuex当中
  });
  // props.setGlobalState({
  //   state: 3, // 应用挂载完成,同时用于触发一次stateChange将state挂载在vuex当中
  // });
  render(props);
}