修复微信小程序上空值是undefined导致的台桌接口报错和确认订单商品不展示的问题
This commit is contained in:
@@ -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'})
|
||||
|
||||
Reference in New Issue
Block a user