浏览代码

bug修改

wy 1 年之前
父节点
当前提交
5ab66524a2
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pages/equipment-monitoring/components/StorageInfo.vue

+ 3 - 3
pages/equipment-monitoring/components/StorageInfo.vue

@@ -30,7 +30,7 @@
 					</image>
 					<image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoVo.chgState !== 2"></image>
 					<image src="../../../static/equipment/c2.png" mode=""
-						v-if="chargerInfoVo.chgState !== 0 || chargerInfoVo.chgState !== 3"></image>
+						v-if="chargerInfoVo.chgState !== 0 && chargerInfoVo.chgState !== 3"></image>
 				</view>
 				<view class="container-code-two" v-if="showCode== 1">
 					<image src="../../../static/equipment/d5.png" mode="" v-if="chargerInfoOneVo.chgState === 2"
@@ -41,7 +41,7 @@
 					<image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoOneVo.chgState !== 2">
 					</image>
 					<image src="../../../static/equipment/c2.png" mode=""
-						v-if="chargerInfoOneVo.chgState !== 0 || chargerInfoOneVo.chgState !== 3"></image>
+						v-if="chargerInfoOneVo.chgState !== 0 && chargerInfoOneVo.chgState !== 3"></image>
 				</view>
 				<view class="container-code-two" v-if="showCode== 2">
 					<image src="../../../static/equipment/d5.png" mode="" v-if="chargerInfoTwoVo.chgState === 2"
@@ -52,7 +52,7 @@
 					<image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoTwoVo.chgState !== 2">
 					</image>
 					<image src="../../../static/equipment/c2.png" mode=""
-						v-if="chargerInfoTwoVo.chgState !== 0 || chargerInfoTwoVo.chgState !== 3"></image>
+						v-if="chargerInfoTwoVo.chgState !== 0 && chargerInfoTwoVo.chgState !== 3"></image>
 				</view>
 			</view>