This commit is contained in:
陈浩 2025-03-13 09:45:04 +08:00
parent af386d4529
commit 1c3482fc99
3 changed files with 13 additions and 5 deletions

View File

@ -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,

View File

@ -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();
}
};

View File

@ -5,5 +5,6 @@ module.exports = defineConfig({
client: {
overlay: false,
},
port: 8999, // 这里设置你想要的端口号,例如 8081
},
});