修改bug

This commit is contained in:
Gao xiaosong
2020-09-27 23:48:01 +08:00
parent e380e64198
commit 4955c2198a
7 changed files with 33 additions and 34 deletions

View File

@ -236,13 +236,14 @@
} else {
// 正常途径进来
that.bargainId = that.$yroute.query.id;
that.bargainUid = parseInt(that.$yroute.query.partake);
that.bargainUid = that.$yroute.query.partake || 0
}
if (!this.bargainUid) {
// url未携带用户uid填上登录用户uid跳转
that.bargainUid = that.userInfo.uid;
}
console.log(this)
// 获取商品详情
that.getBargainDetail();