Parcourir la source

窗帘个别不显示

anxiaoxia il y a 2 ans
Parent
commit
03a2d87853
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/pages/Equipment/index.tsx

+ 1 - 1
src/pages/Equipment/index.tsx

@@ -135,7 +135,7 @@ const Environment: React.FC = () => {
     }
     if (selNav.id == 'curtain' || type == 'curtain') {
       //console.log('valuevaluevaluevalue', value);
-      if (value == 'noHave' || !value) {
+      if (value == 'noHave') {
         //没有
         return 'rgba(196, 196, 196, 0)';
       } else {