//字典数据管理 import { defineStore } from 'pinia' export const useComDictStore = defineStore('comDict', { state: () => ({ dictData: { XMGL: [], ITEMCLASS: [] } }), actions: { setDictData(data: any) { this.dictData = { ...this.dictData, ...data } } } }) //仪器数据 // export const useYQStore = defineStore('yqStore', { // state: () => ({ // yqList: [] as any[], // 存储仪器列表 // }), // actions: { // setYQList(data: any[]) { // this.yqList = data // } // } // })