修复: list->items
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m46s

This commit is contained in:
sexygoat
2026-03-31 10:15:10 +08:00
parent 36da079d59
commit 104d62b17d
2 changed files with 163 additions and 163 deletions

View File

@@ -869,7 +869,7 @@
}
const res = await OrderService.getOrders(params)
if (res.code === 0) {
orderList.value = res.data.list || []
orderList.value = res.data.items || []
pagination.total = res.data.total || 0
}
} catch (error) {
@@ -1011,9 +1011,7 @@
try {
// 获取资源ID (IoT卡ID或设备ID)
const resourceId =
createForm.order_type === 'single_card'
? createForm.iot_card_id
: createForm.device_id
createForm.order_type === 'single_card' ? createForm.iot_card_id : createForm.device_id
if (!resourceId) {
ElMessage.error('请选择IoT卡或设备')