fix:照明系统多选功能完善,引入全局变量projectId,部分交互逻辑修改
This commit is contained in:
@@ -3,7 +3,14 @@ import { defineStore } from 'pinia';
|
||||
export const items = defineStore({
|
||||
id: 'items',
|
||||
state() {
|
||||
return { list: [], count: 10 };
|
||||
return {
|
||||
list: [],
|
||||
count: 10,
|
||||
// 当前项目ID
|
||||
projectId: 'HLlmTZp8',
|
||||
// 站点ID
|
||||
siteId: undefined,
|
||||
};
|
||||
},
|
||||
getters: {
|
||||
double: (state: any) => state.count * 2,
|
||||
|
Reference in New Issue
Block a user