仪表盘
版本库
文件存储
活动
搜索
登录
张磊磊
/
supipe
分支自
supipe
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
未成环的可能有很多
张晓波
2023-12-11
24fc3f18bbeddda342ddf3a3d7f2dd4ef9feab3f
[~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
}
}
})