src/main.js
@@ -4,6 +4,8 @@ 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; @@ -57,9 +59,9 @@ store.commit("setQiankun", state); }); props.setGlobalState({ state: 3, // 应用挂载完成,同时用于触发一次stateChange将state挂载在vuex当中 }); // props.setGlobalState({ // state: 3, // 应用挂载完成,同时用于触发一次stateChange将state挂载在vuex当中 // }); render(props); }