Explorar el Código

设备监控弹窗

wy hace 1 año
padre
commit
d0ee7678e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/equipment-monitoring/components/batteryDrawe.vue

+ 1 - 1
pages/equipment-monitoring/components/batteryDrawe.vue

@@ -26,7 +26,7 @@
 				<uni-forms-item label="充电功率:" name="name" label-align="right" label-width="120px" v-if="fromData.setType !=0">
 					<uni-easyinput type="number" v-model="fromData.powerNum" placeholder="请输入" maxlength="4"/>
 					<view class="kwh">
-						{{fromData.setType == 2 ?'%':'kWh'}}
+						{{fromData.setType == 2 ?'%': fromData.setType == 3 ?'A':'kWh'}}
 					</view>
 				</uni-forms-item>
 			</uni-forms>