叶松
2023-12-04 9f0198c678f3ca6b01272cef908fc7b471a4de2e
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
    }
  }
})