im通讯
This commit is contained in:
parent
af386d4529
commit
1c3482fc99
@ -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,
|
||||
|
@ -12,6 +12,9 @@
|
||||
class="callkit-container"
|
||||
:allowedMinimized="true"
|
||||
:allowedFullScreen="false"
|
||||
:SDKAppID="info.SDKAppID"
|
||||
:userID="info.userID"
|
||||
:userSig="info.userSing"
|
||||
/> -->
|
||||
</div>
|
||||
</template>
|
||||
@ -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();
|
||||
}
|
||||
};
|
||||
|
@ -5,5 +5,6 @@ module.exports = defineConfig({
|
||||
client: {
|
||||
overlay: false,
|
||||
},
|
||||
port: 8999, // 这里设置你想要的端口号,例如 8081
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user