修复: list->items
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m46s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m46s
This commit is contained in:
@@ -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卡或设备')
|
||||
|
||||
Reference in New Issue
Block a user