1.修复注册页面,所属地区选择全部时,出现undefined的问题

fencang
x_z 3 years ago
parent ab95d60134
commit 1d66f66c05

@ -639,7 +639,6 @@ export default {
onSubmit(formName) {
// this.formVisible = true;
this.$refs[formName].validate((valid) => {
if (valid) {
if (this.registerConfigMap.companyCheckStatus) {
@ -734,8 +733,15 @@ export default {
}, 1000);
},
handleChange(value) {
this.inputQuery.area =
CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]];
this.inputQuery.area = CodeToText[value[0]];
if (CodeToText[value[1]] != null && CodeToText[value[1]] != ""
&& CodeToText[value[1]] != "undefined") {
this.inputQuery.area += CodeToText[value[1]];
}
if (CodeToText[value[2]] != null && CodeToText[value[2]] != ""
&& CodeToText[value[2]] != "undefined") {
this.inputQuery.area += CodeToText[value[2]];
}
this.inputQuery.areaCode = value.toString();
},
copy() {

Loading…
Cancel
Save