const dialogTabsStore = defineStore('dialogTabs', { state: () => { return { // 燃气值 RQvalue: {}, // 全景点位 pointLocation: [], }; }, actions: { // 添加全景点位 addPosition(position) { this.pointLocation = position; }, // 删除tab全景点位 deleteDialogTabs() { this.pointLocation = []; }, // 添加全景点位 addRQ(val) { this.RQvalue = val; }, // 删除tab全景点位 deleteRQ() { this.RQvalue = {}; }, clear() { this.pointLocation = []; this.RQvalue = {}; }, }, }); export default dialogTabsStore;