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: {}
| });
|
|