Commit 9d0c1fc2b42a3c3a6b15fcfc2ae3ea13bb39528a

Authored by zhangzzzz
1 parent 8c269d56

质量巡检只有✓/✗两种状态,取消空白状态;

src/components/Common/CommonTable/index.js
@@ -2195,6 +2195,8 @@ class CommonTableRc extends React.Component { @@ -2195,6 +2195,8 @@ class CommonTableRc extends React.Component {
2195 newValue = "✓"; 2195 newValue = "✓";
2196 } else if (["1", "✓"].includes(value)) { 2196 } else if (["1", "✓"].includes(value)) {
2197 newValue = "✗"; 2197 newValue = "✗";
  2198 + } else {
  2199 + newValue = "✓";
2198 } 2200 }
2199 2201
2200 const dataNew = [...this.props.data]; 2202 const dataNew = [...this.props.data];