Commit 60e98a5debd9b099c3f8eae0693f947cd0375f5d

Authored by fengtao
1 parent 5ede7902

fix:DEFECT-907 报表查看,后端返回了数据,前端没显示

@@ -271,10 +271,10 @@ @@ -271,10 +271,10 @@
271 }; 271 };
272 272
273 const validateHasData = (record: Recordable) => { 273 const validateHasData = (record: Recordable) => {
274 - notFoundData.value = false; 274 + notFoundData.value = true;
275 const { val = [], attr } = (record as unknown as ResponsData) || {}; 275 const { val = [], attr } = (record as unknown as ResponsData) || {};
276 if (!attr || !val.length) { 276 if (!attr || !val.length) {
277 - notFoundData.value = true; 277 + notFoundData.value = false;
278 } 278 }
279 }; 279 };
280 280