wy il y a 1 an
Parent
commit
cdb45f9b9c
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      pages/equipment-monitoring/components/StorageInfo.vue

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

@@ -3,7 +3,7 @@
 		<view class="container">
 			<view class="container-header">
 				<view class="battery" :class="showCode ==0?'showCodeActive':''" @click="showCode = 0">
-					电池(有)
+					{{StateNum}}
 				</view>
 				<view class="a-gun battery" :class="showCode ==1?'showCodeActive':''" @click="showCode = 1">
 					A枪
@@ -156,11 +156,11 @@
 			},
 			StateNum() {
 				if (this.storeState === 0) {
-					return '空仓'
+					return '电池(无)'
 				} else if (this.storeState === 1) {
-					return '电池'
+					return '电池(有)'
 				} else {
-					return '连接异常'
+					return '异常'
 				}
 			}
 		}