im通讯
This commit is contained in:
parent
af386d4529
commit
1c3482fc99
@ -331,9 +331,9 @@ export default {
|
|||||||
handler(val) {
|
handler(val) {
|
||||||
this.skuDetail = val.data;
|
this.skuDetail = val.data;
|
||||||
this.wholesaleList = val.wholesaleList;
|
this.wholesaleList = val.wholesaleList;
|
||||||
if (this.wholesaleList && this.wholesaleList.length > 0) {
|
// if (this.wholesaleList && this.wholesaleList.length > 0) {
|
||||||
this.count = this.wholesaleList[0].num;
|
// this.count = this.wholesaleList[0].num;
|
||||||
}
|
// }
|
||||||
this.promotion();
|
this.promotion();
|
||||||
this.swiperGoodsImg();
|
this.swiperGoodsImg();
|
||||||
},
|
},
|
||||||
@ -438,6 +438,10 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
addShoppingCartBtn() {
|
addShoppingCartBtn() {
|
||||||
|
// console.log({
|
||||||
|
// num: this.count,
|
||||||
|
// skuId: this.skuDetail.id,
|
||||||
|
// });
|
||||||
// 添加购物车
|
// 添加购物车
|
||||||
const params = {
|
const params = {
|
||||||
num: this.count,
|
num: this.count,
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
class="callkit-container"
|
class="callkit-container"
|
||||||
:allowedMinimized="true"
|
:allowedMinimized="true"
|
||||||
:allowedFullScreen="false"
|
:allowedFullScreen="false"
|
||||||
|
:SDKAppID="info.SDKAppID"
|
||||||
|
:userID="info.userID"
|
||||||
|
:userSig="info.userSing"
|
||||||
/> -->
|
/> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -53,11 +56,11 @@ const getIMDetail = async () => {
|
|||||||
info.userID = data.result.userID;
|
info.userID = data.result.userID;
|
||||||
flag.value = true;
|
flag.value = true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
alert("没有登陆");
|
alert("没有登陆,请重新进入");
|
||||||
window.close();
|
window.close();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
alert("没有登陆");
|
alert("没有登陆,请重新进入");
|
||||||
window.close();
|
window.close();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -5,5 +5,6 @@ module.exports = defineConfig({
|
|||||||
client: {
|
client: {
|
||||||
overlay: false,
|
overlay: false,
|
||||||
},
|
},
|
||||||
|
port: 8999, // 这里设置你想要的端口号,例如 8081
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user