张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
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
    }
  }
})