拼团功能完善

This commit is contained in:
2025-12-17 18:08:27 +08:00
parent 2fc5a428ff
commit 744f56468f
17 changed files with 2200 additions and 305 deletions

View File

@@ -179,6 +179,13 @@ export const productStore = defineStore("product", {
*/
async scanCodeactions(q) {
console.log("扫码内容", q);
// #ifdef H5
uni.navigateTo({
url:'/pages/product/index'
})
return
// #endif
return new Promise(async (resolve, reject) => {
if (q) {
console.log(q);
@@ -218,7 +225,7 @@ export const productStore = defineStore("product", {
}
}
} else {
// #ifdef APP || MP-WEIXIN || MP-ALIPAY
// #ifdef APP || MP-WEIXIN || MP-ALIPAY
uni.scanCode({
success: async (res) => {
let tableCode = this.getQueryString(