删除dashboard订单数据的调试日志
This commit is contained in:
parent
2ce7ddc638
commit
88df4fbbf6
@ -142,7 +142,6 @@ export default {
|
||||
const ordersResource = createResource({
|
||||
url: 'jcloud.api.billing.get_orders',
|
||||
transform(response) {
|
||||
console.log('API响应:', response); // 调试日志
|
||||
return {
|
||||
orders: response.orders || [],
|
||||
total: response.total || 0
|
||||
@ -163,15 +162,8 @@ export default {
|
||||
// 更新加载状态
|
||||
initialLoading.value = false;
|
||||
loadingMore.value = false;
|
||||
|
||||
console.log('获取到订单数据:', {
|
||||
orders: orders.value,
|
||||
total: totalCount.value,
|
||||
hasMore: hasMoreToLoad.value
|
||||
});
|
||||
},
|
||||
onError(error) {
|
||||
console.error('获取订单数据失败:', error);
|
||||
initialLoading.value = false;
|
||||
loadingMore.value = false;
|
||||
}
|
||||
@ -229,7 +221,7 @@ export default {
|
||||
URL.revokeObjectURL(link.href);
|
||||
},
|
||||
onError(error) {
|
||||
console.error('导出数据失败:', error);
|
||||
// 导出失败处理
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user