diff --git a/src/view/home.vue b/src/view/home.vue index cf9029c..1b8cd0c 100644 --- a/src/view/home.vue +++ b/src/view/home.vue @@ -326,7 +326,7 @@ export default { this.merchantNo = data.userAddress.merchantNo; if ( data.userAddress.type != 1 && - data.userAddress.type != 3 + data.userAddress.type != -1 ) { this.addressValue = [ this.provinceId + @@ -365,7 +365,7 @@ export default { }); } else if (data.userAddress.type == 0) { this.getGoodsList(); - } else if (data.userAddress.type == 3) { + } else if (data.userAddress.type == -1) { this.$vux.alert.show({ title: "自动定位失败", onHide: () => {