Elements-SY

modify

......@@ -264,6 +264,14 @@ export const inputBlurValidate = {
this.$refs[coin[customVal]].innerHTML = "";
this.validateForm = true;
}
// 如果人民币其中任何一个有值,去判断美元是否有值,如果有值把美元值清空
if (this.minCNYCustomVal || this.maxCNYCustomVal) {
if (this.minSUDCustomVal || this.maxSUDCustomVal) {
this.$refs.minSUDCustomVal.innerHTML = "";
this.validateForm = true;
this.minSUDCustomVal = this.maxSUDCustomVal = "";
}
}
}
// 其中一个有值的情况下美元
if (
......@@ -282,8 +290,16 @@ export const inputBlurValidate = {
this.validateForm = true;
}
} else {
this.validateForm = true;
this.$refs[coin[customVal]].innerHTML = "";
this.validateForm = true;
}
// 如果美元其中任何一个有值,去判断人民币是否有值,如果有值把人民币值清空
if (this.minSUDCustomVal || this.maxSUDCustomVal) {
if (this.minCNYCustomVal || this.maxCNYCustomVal) {
this.$refs.minCNYCustomVal.innerHTML = "";
this.validateForm = true;
this.minCNYCustomVal = this.maxCNYCustomVal = "";
}
}
}
} else {
......