Browse Source

测试bug修复第7波

pull/1/head
ljlong_2630 1 year ago
parent
commit
06eee0ff7b
  1. 8
      src/views/model/alert/policy.vue
  2. 2
      src/views/model/device/index.vue

8
src/views/model/alert/policy.vue

@ -482,7 +482,7 @@ function getMethodName(methodIds){
if(methodNameTable != ""){ if(methodNameTable != ""){
methodNameTable += ","; methodNameTable += ",";
} }
methodNameTable = item.methodName; methodNameTable = methodNameTable + item.methodName;
}; };
}) })
}) })
@ -535,8 +535,10 @@ function toggleCollapse() {
} }
function getBoolValueDic(bool) { function getBoolValueDic(bool) {
if(bool){ if(bool == null || bool == undefined){
return "1"; return;
}else if(bool){
return "1"
} }
return "0"; return "0";
} }

2
src/views/model/device/index.vue

@ -289,7 +289,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="主键" prop="uuid"> <el-form-item label="主键" prop="uuid">
<el-input disabled v-model="form.uuid" placeholder="请输入主键" /> <el-input v-model="form.uuid" placeholder="请输入主键" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">

Loading…
Cancel
Save