Browse Source

修改地址

LXT-NJ\Admin 2 years ago
parent
commit
940c782c32
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/shouhuodi/index.vue

+ 1 - 0
pages/shouhuodi/index.vue

@@ -192,6 +192,7 @@
 					console.log(res.data);
 					console.log(res.data);
 					if (res.data.code == 200) {
 					if (res.data.code == 200) {
 						that.dizhi = res.data.data;
 						that.dizhi = res.data.data;
+						that.dizhi.isdefault=res.data.data.default_address;
 						this.tags.forEach((item, index) => {
 						this.tags.forEach((item, index) => {
 							if (that.dizhi.label == item.name) {
 							if (that.dizhi.label == item.name) {
 								that.sel = index;
 								that.sel = index;