Pārlūkot izejas kodu

设置用户信息参数修改

xiaomei 4 mēneši atpakaļ
vecāks
revīzija
73aa892c21
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/views/mine/setting.vue

+ 2 - 2
src/views/mine/setting.vue

@@ -211,8 +211,8 @@ export default {
       } else if (this.editType == 2) {
         params.phone = this.inputValue;
       } else if (this.editType == 3) {
-        params.address = this.areaText.replace(/\//g, ' ') + ' ' + this.addressDetail;
-        params.area_code = this.area_code;
+         params.area_code = this.area_code;
+        params.area_name = this.areaText.replace(/\//g, ' ') + ' ' + this.addressDetail;
       } else if (this.editType == 4) {
         params.address = this.inputValue;
       }