|
|
|
@ -476,10 +476,10 @@ export default {
|
|
|
|
|
// console.log('123')
|
|
|
|
|
if(Array.isArray(this.form.subdistrict)){
|
|
|
|
|
if(this.form.subdistrict.length == 2) {
|
|
|
|
|
this.subdistrict = this.form.subdistrict[2].slice(1, 11);
|
|
|
|
|
this.subdistrict = this.form.subdistrict[1].slice(1, 11);
|
|
|
|
|
obj = { ...this.pages, ...this.form,subdistrict:this.subdistrict };
|
|
|
|
|
} else if(this.form.subdistrict.length == 1) {
|
|
|
|
|
this.subdistrict = this.form.subdistrict[1].slice(1, 8);
|
|
|
|
|
this.subdistrict = this.form.subdistrict[0].slice(1, 8);
|
|
|
|
|
obj = { ...this.pages, ...this.form,subdistrict:this.subdistrict };
|
|
|
|
|
} else {
|
|
|
|
|
obj = {...this.pages,...this.form}
|
|
|
|
|