fix: 文档内容不存在也刷新

This commit is contained in:
shaohuzhang1 2024-01-23 11:19:33 +08:00
parent f8921d841b
commit d5bc5284a9

View File

@ -206,7 +206,7 @@ const handleSelectionChange = (val: any[]) => {
const initInterval = () => { const initInterval = () => {
interval = setInterval(() => { interval = setInterval(() => {
if ( if (
documentData.value.length === 0 && documentData.value.length === 0 ||
documentData.value.some((item) => item.status === '0' || item.status === '2') documentData.value.some((item) => item.status === '0' || item.status === '2')
) { ) {
getList(true) getList(true)