修复微信小程序上空值是undefined导致的台桌接口报错和确认订单商品不展示的问题

This commit is contained in:
2024-10-30 13:55:32 +08:00
parent 1791d5f3d8
commit 1f099e2174
2 changed files with 10 additions and 10 deletions

View File

@@ -166,7 +166,7 @@
async function getTable() {
// let state=status.list[status.active].key
// state=state?(state=='all'?'':state):''
const areaId=area.list[area.defaultCateIndex].id
const areaId=area.list[area.defaultCateIndex].id||''
let {
content,total
} = await $table.get({...query,areaId,name:searchValue.value,state:'idle'})