| north-glass-erp/northglass-erp/src/components/BasicTable.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
north-glass-erp/northglass-erp/src/components/BasicTable.vue
@@ -122,6 +122,8 @@ pageTotal : 0,//总页数 dataTotal : 0,//数据总条数 }) const isFirstLoad = ref(true); const sumNum = (list, field) => { let count = 0 list.forEach(item => { @@ -247,9 +249,10 @@ orderInfo.reportFormDate = res.data.selectDate //订单明细报表 if (props.childrenData.url === '/order/getOrderReport') { if (isFirstLoad.value && props.childrenData.url === '/order/getOrderReport') { const dataList = res.data.data || []; handleDynamicColumns(dataList,res.data.title) isFirstLoad.value = false; // 首次加载后置为false } } })