基于北京SDK的方案预演功能
suerprisePlus
2024-06-13 28de79b44655118b1deffb5c9a8b06ec2904905b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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: {
    //验证码刷新
    setLoginCode(state, num) {
      state.loginCode = num;
    },
    
  },
  actions: {},
  modules: {}
});