开发:避免错误

pull/2736/MERGE
ChenX 5 months ago
parent 01d4cddc51
commit 702afe2388

@ -94,9 +94,9 @@ export class TopPanelStore
autorun(() =>
{
//有前面层视图的时候隐藏绘图区域
needOpacityEls.forEach(el =>
el.style.opacity = this.isLogin && !this.openMain ? "1" : "0"
);
for (let el of needOpacityEls)
if (el)//避免未来某天在shareview中又坏了
el.style.opacity = this.isLogin && !this.openMain ? "1" : "0";
});
}

Loading…
Cancel
Save