fix: 🐛 fix alerts of lgtm

This commit is contained in:
bubkoo
2021-06-22 09:47:24 +08:00
committed by 问崖
parent 1bd6d815ea
commit 4d99a33f9f

View File

@ -522,8 +522,8 @@ export namespace ToolsView {
if (
(tag == null || tag === toStringTag) &&
typeof view.graph != null &&
typeof view.cell != null &&
view.graph != null &&
view.cell != null &&
typeof view.config === 'function' &&
typeof view.update === 'function' &&
typeof view.focus === 'function' &&