下单选择人数条件修改

This commit is contained in:
GaoHao
2024-09-29 13:35:51 +08:00
parent e2881ebd7b
commit 19b6e2fa09
4 changed files with 26 additions and 13 deletions

View File

@@ -61,7 +61,7 @@
let data = await this.api.productqueryShop({
code: uni.cache.get('tableCode'),
})
if ( !data.data.shopTableInfo.choseCount ) {
if ( data.data.shopTableInfo && !data.data.shopTableInfo.choseCount ) {
uni.pro.navigateTo('/pagesOrder/orderAMeal/index', {
tableCode: tableCode,
shopId: data.data.storeInfo.id,