叶松
2023-11-03 bb156855a7273e91af1f1123a5b84c606cb44c15
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
    }
  }
})