Merge pull request #12434 from dataease/pr@dev-v2@refactor_ds_total

refactor(数据集): 优化数据预览条数
This commit is contained in:
Junjun 2024-09-25 11:13:30 +08:00 committed by GitHub
commit 52f0923a47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -471,6 +471,7 @@ const handleClick = (tabName: TabPaneName) => {
break break
} }
dataPreviewLoading.value = true dataPreviewLoading.value = true
total.value = null
getDatasetPreview(nodeInfo.id) getDatasetPreview(nodeInfo.id)
.then(res => { .then(res => {
allFields = (res?.allFields as unknown as Field[]) || [] allFields = (res?.allFields as unknown as Field[]) || []