Browse Source

设备监控

wy 1 năm trước cách đây
mục cha
commit
cdb45f9b9c
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  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 '异常'
 				}
 			}
 		}