检测值修改

yangwl
shaoyong 6 months ago
parent f374672092
commit 7a093feafb

@ -392,9 +392,7 @@ export default {
}, },
// 使nextTick // 使nextTick
handleResetForm() { handleResetForm() {
this.$nextTick(() => { this.dynamicValidateForm.domains = [{ value: ''}];
this.dynamicValidateForm.domains = [{ value: ''}];
});
}, },
// /YN // /YN
@ -412,11 +410,11 @@ export default {
// //
/** 检测结果钮操作 */ /** 检测结果钮操作 */
handleShowValue(row) { handleShowValue(row) {
this.handleResetForm();
this.valueOpen = true; this.valueOpen = true;
this.recordId = row.recordId; this.recordId = row.recordId;
this.weight = row.weight; this.weight = row.weight;
const actualValue = row.actualValue; const actualValue = row.actualValue;
console.log(actualValue);
if(actualValue !== null && actualValue !== '') { if(actualValue !== null && actualValue !== '') {
this.dynamicValidateForm.domains = []; this.dynamicValidateForm.domains = [];
let values = actualValue.split(","); let values = actualValue.split(",");

Loading…
Cancel
Save