mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 20:16:44 +08:00
修改表格数据加载完成标识
This commit is contained in:
@@ -76,7 +76,10 @@
|
|||||||
<td>{{ org.cbbfMon | blankFilter }}</td>
|
<td>{{ org.cbbfMon | blankFilter }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="organizationData.length === 0">
|
<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>
|
</tr>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
@@ -172,6 +175,7 @@ export default {
|
|||||||
this.performanceData = data.content.list
|
this.performanceData = data.content.list
|
||||||
}
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
this.isTableDataLoad = true
|
||||||
const width = this.$refs.product.offsetWidth
|
const width = this.$refs.product.offsetWidth
|
||||||
const height = this.$refs.product.offsetHeight
|
const height = this.$refs.product.offsetHeight
|
||||||
console.log('after width: ', width)
|
console.log('after width: ', width)
|
||||||
|
|||||||
Reference in New Issue
Block a user