基于北京SDK的方案预演功能
suerprisePlus
2024-06-13 28de79b44655118b1deffb5c9a8b06ec2904905b
src/store/index.ts
@@ -1,10 +1,32 @@
import { fa } from "element-plus/es/locale";
import { createStore } from "vuex";
export default createStore({
  state: {
    // 方案预演切换
    setAnimation: null,
    // 验证码
    loginCode: null,
    // 图层管理
    layerFlag: false,
    // 鼠标右键点击菜单
    rightMeuFlag: false,
    rightMenuIndex: null,
    rightCoodinate: null,
    setFlyPlanFlag: false,
    setAddEntityList: {
      flag: false,
      title: "",
      type: 0
    }
  },
  mutations: {},
  mutations: {
    //验证码刷新
    setLoginCode(state, num) {
      state.loginCode = num;
    },
  },
  actions: {},
  modules: {},
  modules: {}
});