fdbe1b99 by zhangmeng

票务排序

1 parent 1276a3f6
...@@ -262,7 +262,7 @@ onMounted(() => { ...@@ -262,7 +262,7 @@ onMounted(() => {
262 getDeskInfo({ 262 getDeskInfo({
263 atstId: route.params.latstId 263 atstId: route.params.latstId
264 }).then(res => { 264 }).then(res => {
265 deskList.value = res.data.sort((a, b) => a.deskNo - b.deskNo) 265 deskList.value = res.data?.sort((a, b) => a.deskNo - b.deskNo)
266 currDesk.value = res.data[0] 266 currDesk.value = res.data[0]
267 }) 267 })
268 } else { // 普通票 268 } else { // 普通票
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!