From c228bc97fbe5070b7708884d1e8670f201660aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Mon, 18 Sep 2023 17:15:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E8=AF=AF=E5=88=A0?= =?UTF-8?q?=E7=9A=84setProjectInfo=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/chartEditStore/chartEditStore.ts | 4 ++++ 1 file changed, 4 insertions(+) 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