diff --git a/src/store/modules/chartEditStore/chartEditStore.ts b/src/store/modules/chartEditStore/chartEditStore.ts index 986ed49d..34fee0e5 100644 --- a/src/store/modules/chartEditStore/chartEditStore.ts +++ b/src/store/modules/chartEditStore/chartEditStore.ts @@ -201,6 +201,10 @@ export const useChartEditStore = defineStore({ setEditCanvasConfig(key: T, value: K) { this.editCanvasConfig[key] = value }, + // * 设置 peojectInfo 数据项 + setProjectInfo(key: T, value: K) { + this.projectInfo[key] = value + }, // * 设置右键菜单 setRightMenuShow(value: boolean) { this.rightMenuShow = value