|
@@ -64,7 +64,7 @@ var supplierHome = new Vue({
|
|
|
},
|
|
|
getShopInfo() {
|
|
|
const _self = this;
|
|
|
- SupplierApi.getShopHomeData({shopId: this.params.id, userId: this.userId}, function (res) {
|
|
|
+ SupplierApi.getShopHomeData({shopId: this.params.id }, function (res) {
|
|
|
if (res.code === 0) {
|
|
|
const data = res.data
|
|
|
_self.supplierInfo = data
|
|
@@ -103,8 +103,6 @@ var supplierHome = new Vue({
|
|
|
})
|
|
|
}
|
|
|
}, 500);
|
|
|
- }else if(res.code === -2){
|
|
|
- window.location.href = '/index.html'
|
|
|
}
|
|
|
});
|
|
|
},
|