仪表盘
版本库
文件存储
活动
搜索
登录
张磊磊
/
supipe
分支自
supipe
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
扫码跳转小程序部分完成需要测试,隐患地点改为下拉框
叶松
2023-11-27
c34e1ebbabaec123d735149e47df856c4cf837c5
[~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
}
}
})