feat: 文档刷新
This commit is contained in:
parent
2c6135a929
commit
c51c6d7243
@ -131,7 +131,10 @@ const paginationConfig = reactive({
|
|||||||
*/
|
*/
|
||||||
const initInterval = () => {
|
const initInterval = () => {
|
||||||
interval = setInterval(() => {
|
interval = setInterval(() => {
|
||||||
if (documentData.value.length > 0 && documentData.value.every((item) => item.status === '0')) {
|
if (
|
||||||
|
documentData.value.length > 0 &&
|
||||||
|
documentData.value.some((item) => item.status === '0' || item.status === '2')
|
||||||
|
) {
|
||||||
getList(true)
|
getList(true)
|
||||||
}
|
}
|
||||||
}, 6000)
|
}, 6000)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user