diff --git a/buyer/src/components/goodsDetail/ShowGoods.vue b/buyer/src/components/goodsDetail/ShowGoods.vue index 5145fbf6..e5c05a01 100644 --- a/buyer/src/components/goodsDetail/ShowGoods.vue +++ b/buyer/src/components/goodsDetail/ShowGoods.vue @@ -331,9 +331,9 @@ export default { handler(val) { this.skuDetail = val.data; this.wholesaleList = val.wholesaleList; - if (this.wholesaleList && this.wholesaleList.length > 0) { - this.count = this.wholesaleList[0].num; - } + // if (this.wholesaleList && this.wholesaleList.length > 0) { + // this.count = this.wholesaleList[0].num; + // } this.promotion(); this.swiperGoodsImg(); }, @@ -438,6 +438,10 @@ export default { }, addShoppingCartBtn() { + // console.log({ + // num: this.count, + // skuId: this.skuDetail.id, + // }); // 添加购物车 const params = { num: this.count, diff --git a/txim/src/App.vue b/txim/src/App.vue index c894eb4e..a2641dc9 100644 --- a/txim/src/App.vue +++ b/txim/src/App.vue @@ -12,6 +12,9 @@ class="callkit-container" :allowedMinimized="true" :allowedFullScreen="false" + :SDKAppID="info.SDKAppID" + :userID="info.userID" + :userSig="info.userSing" /> --> @@ -53,11 +56,11 @@ const getIMDetail = async () => { info.userID = data.result.userID; flag.value = true; } catch (error) { - alert("没有登陆"); + alert("没有登陆,请重新进入"); window.close(); } } else { - alert("没有登陆"); + alert("没有登陆,请重新进入"); window.close(); } }; diff --git a/txim/vue.config.js b/txim/vue.config.js index c17c2cf8..9e767f2b 100644 --- a/txim/vue.config.js +++ b/txim/vue.config.js @@ -5,5 +5,6 @@ module.exports = defineConfig({ client: { overlay: false, }, + port: 8999, // 这里设置你想要的端口号,例如 8081 }, });