소스 검색

设置用户信息参数修改

xiaomei 4 달 전
부모
커밋
73aa892c21
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;
       }