5e38e5bf by lihua

fix: 修复资产首页问题

1 parent 688fa34f
...@@ -301,8 +301,7 @@ const getTradeTableData = () => { ...@@ -301,8 +301,7 @@ const getTradeTableData = () => {
301 }).then((res: any) => { 301 }).then((res: any) => {
302 tradeTableInfo.value.loading1 = false; 302 tradeTableInfo.value.loading1 = false;
303 if (res.code == proxy.$passCode) { 303 if (res.code == proxy.$passCode) {
304 let data = res.data || {}; 304 tradeTableInfo.value.data = res.data || [];
305 tradeTableInfo.value.data = data || [];
306 } else { 305 } else {
307 ElMessage.error(res.msg); 306 ElMessage.error(res.msg);
308 } 307 }
...@@ -397,8 +396,7 @@ const getFinancingTableData = () => { ...@@ -397,8 +396,7 @@ const getFinancingTableData = () => {
397 getApiInvokeCount(params).then((res: any) => { 396 getApiInvokeCount(params).then((res: any) => {
398 financingTableInfo.value.loading1 = false; 397 financingTableInfo.value.loading1 = false;
399 if (res.code == proxy.$passCode) { 398 if (res.code == proxy.$passCode) {
400 let data = res.data || {}; 399 financingTableInfo.value.data = res.data || [];
401 financingTableInfo.value.data = data || [];
402 } else { 400 } else {
403 ElMessage.error(res.msg); 401 ElMessage.error(res.msg);
404 } 402 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!