仪表盘
版本库
文件存储
活动
搜索
登录
张磊磊
/
supipe
分支自
supipe
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
调整区域包保
邱宇豪
2023-09-27
76b5e34bccb723c3d414b3d981ed8b00b79411d8
[~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
}
}
})