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] } },