仪表盘
版本库
文件存储
活动
搜索
登录
张磊磊
/
supipe
分支自
supipe
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
智慧监控页面增加
李旭东
2023-11-08
58e841720c0b1f56ba15a1f1ecdb26c8158c4db1
[~zhangleilei/supipe.git]
/
web
/
src
/
pinia
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { defineStore } from 'pinia';
export const buttonPinia = defineStore('buttonPinia', {
state: () => {
return {
buttonInfo: []
}
},
actions: {
changeMenuButtonInfo(list) {
return this.buttonInfo = list
}
}
})