!1985 修复:造型配置初始化部分错误

pull/1980/MERGE
林三 2 years ago committed by ChenX
parent 60bd49faea
commit 9168060ea4

@ -183,7 +183,7 @@ export class UserConfigStore extends Singleton
{
let confNames = [...Object.keys(configs)];
let curName = userConfig.userConfigName[BoardModalType.Zx];
if (!curName)
if (!curName || !confNames.includes(curName)) //子账户读取不到
curName = confNames[0];
let rightPanelStore = RightPanelStore.GetInstance();
rightPanelStore.modelingStore.UpdateOption(configs[curName]);

Loading…
Cancel
Save