Explorar o código

温度设置修改。

zhengqiang %!s(int64=4) %!d(string=hai) anos
pai
achega
567e69471d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/base/deviceInfo-ehome.vue

+ 2 - 2
src/views/base/deviceInfo-ehome.vue

@@ -91,7 +91,7 @@
           <el-col :span="12">
             <el-form-item label="温度阈值上限" prop="deviceNo">
                 <el-input
-                    v-model="formModel.highestThermalThreshold"
+                    v-model.number="formModel.highestThermalThreshold"
                     style="width: 100px"
                 >
                 <template slot="append">度</template>
@@ -101,7 +101,7 @@
           <el-col :span="12">
             <el-form-item label="温度阈值下限" prop="deviceNo">
                 <el-input
-                    v-model="formModel.lowestThermalThreshold"
+                    v-model.number="formModel.lowestThermalThreshold"
                     style="width: 100px"
                 >
                 <template slot="append">度</template>