张磊磊
2023-11-03 beda886b6bb532dc55418733a16cd86a40fd4019
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
    }
  }
})