修改表格数据加载完成标识

This commit is contained in:
mengxiaolong
2020-11-25 17:57:22 +08:00
parent 75da345127
commit a5ab4417ee

View File

@@ -76,7 +76,10 @@
<td>{{ org.cbbfMon | blankFilter }}</td>
</tr>
<tr v-if="organizationData.length === 0">
<td :colspan="theads.length">暂无数据</td>
<td :colspan="theads.length">
<span v-if="isTableDataLoad">暂无数据</span>
<van-loading v-if="!isTableDataLoad" type="spinner" />
</td>
</tr>
</template>
<template v-else>
@@ -172,6 +175,7 @@ export default {
this.performanceData = data.content.list
}
this.$nextTick(() => {
this.isTableDataLoad = true
const width = this.$refs.product.offsetWidth
const height = this.$refs.product.offsetHeight
console.log('after width: ', width)