仪表盘
版本库
文件存储
活动
搜索
登录
张磊磊
/
supipe
分支自
supipe
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge branch 'master' of http://111.30.93.211:10101/r/supipe
叶松
2023-12-04
6e9d75aeb78c4a635a607ab0592f651dc3bf9643
[~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
}
}
})