David Catuhe 5 年之前
父節點
當前提交
6d37445d8e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      inspector/src/components/actionTabs/lines/checkBoxLineComponent.tsx

+ 1 - 1
inspector/src/components/actionTabs/lines/checkBoxLineComponent.tsx

@@ -34,7 +34,7 @@ export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponen
         if (this.props.isSelected) {
             currentState = nextProps.isSelected!();
         } else {
-            currentState = nextProps.target[nextProps.propertyName!] === true;
+            currentState = nextProps.target[nextProps.propertyName!] == true;
         }
 
         if (currentState !== nextState.isSelected || this._localChange) {