From b44e169dd8a6e0f15d3788970176922e96aec6e1 Mon Sep 17 00:00:00 2001 From: zhao_js <349234519@qq.com> Date: 星期三, 15 十一月 2023 09:55:33 +0800 Subject: [PATCH] no message --- uniapp/pages/goods/goodsDetail.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/uniapp/pages/goods/goodsDetail.vue b/uniapp/pages/goods/goodsDetail.vue index 48d87d0..9c50ade 100644 --- a/uniapp/pages/goods/goodsDetail.vue +++ b/uniapp/pages/goods/goodsDetail.vue @@ -589,6 +589,7 @@ this.inviteCodeShow = true } else { console.log(this.pageType) + console.log(this.user.tb_account) if (this.pageType == 'tb' || this.pageType == 'tmshop' || this.pageType == 'tm') { if (this.user.tb_account) { this.getTbsrc() @@ -647,6 +648,7 @@ goodsId: this.optionsInfo.goodsId, type: 0 }).then(e => { + if (e.code != 0) return that.$alert(e.msg) if(that.frompage=='freebuy') {//0鍏冭喘鐨勮褰曞晢鍝乮d @@ -667,12 +669,14 @@ pname: 'com.taobao.taobao', action: 'taobao://' })) { + const plug = uni.requireNativePlugin('xiguazhu-baichuan') + console.log(tburl); plug.detailPage({ url: tburl, "openType": 0 }, result => { - // console.log(result); + console.log(result); }); } else { uni.navigateTo({ -- Gitblit v1.9.3