总计 跳转

This commit is contained in:
wwz
2025-03-27 15:50:41 +08:00
parent 9094818ea1
commit 75e5fb65be
4 changed files with 186 additions and 191 deletions

View File

@@ -119,7 +119,9 @@ export const productStore = defineStore('product', {
}
// 是否免除桌位费 0否1是
if (uni.cache.get('shopInfo').isTableFee == 0) {
uni.pro.navigateTo('product/choosetable')
uni.reLaunch({
url: '/pages/product/choosetable'
});
} else {
uni.reLaunch({
url: '/pages/product/index'
@@ -147,7 +149,9 @@ export const productStore = defineStore('product', {
}
// 是否免除桌位费 0否1是
if (uni.cache.get('shopInfo').isTableFee == 0) {
uni.pro.navigateTo('product/choosetable')
uni.navigateTo({
url: '/pages/product/choosetable'
});
} else {
uni.reLaunch({
url: '/pages/product/index'
@@ -184,7 +188,9 @@ export const productStore = defineStore('product', {
}
if (uni.cache.get('shopInfo').isTableFee == 0) {
uni.pro.navigateTo('product/choosetable')
uni.navigateTo({
url: '/pages/product/choosetable'
});
} else {
uni.reLaunch({
url: '/pages/product/index'