张晓波
2023-10-19 262c89f005b6d7567fcab6f73eb59b3dfbc7af1d
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
    }
  }
})