Commit 024cce7e by 胡悦

修复bug

1 parent 03cf83d1
...@@ -431,6 +431,7 @@ ...@@ -431,6 +431,7 @@
v-model="item.paramValue.valueId" v-model="item.paramValue.valueId"
placeholder="请选择" placeholder="请选择"
@change="lastChange(item.paramValue.valueId, idx)" @change="lastChange(item.paramValue.valueId, idx)"
:key="key"
> >
<el-option <el-option
v-for="j in item.paramValue.lastList" v-for="j in item.paramValue.lastList"
...@@ -583,7 +584,8 @@ export default { ...@@ -583,7 +584,8 @@ export default {
}, },
// 选择设备状态 // 选择设备状态
deviceConditionList: [], deviceConditionList: [],
deviceContentList: [] deviceContentList: [],
key: new Date().getTime()
} }
}, },
created() { created() {
...@@ -822,7 +824,8 @@ export default { ...@@ -822,7 +824,8 @@ export default {
if (obj.orderType == 2) { if (obj.orderType == 2) {
getOrderValue({ orderId: id }).then(res => { getOrderValue({ orderId: id }).then(res => {
const val = res.length === 0 ? null : res const val = res.length === 0 ? null : res
this.$set(paramValue, 'lastList', val) paramValue.lastList = val
this.key = new Date().getTime()
}) })
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!