From e58e8540c9dc90ab467e6e3ecceaa0c8baad39cb Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Mon, 23 Mar 2026 10:41:16 +0800 Subject: [PATCH] fix --- src/store/workspace/workspace.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/store/workspace/workspace.ts b/src/store/workspace/workspace.ts index 08e975d2..628a4d67 100644 --- a/src/store/workspace/workspace.ts +++ b/src/store/workspace/workspace.ts @@ -74,7 +74,8 @@ const Workspace: Module = { }, setProbject(state, data) { for (const key in data) { - if (data[key] == undefined) continue + let list = ['styleName','styleId','style'] + if (data[key] == undefined && !list.includes(key)) continue state.probjects[key] = data[key] } },