mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 文档刷新
This commit is contained in:
parent
2c6135a929
commit
c51c6d7243
|
|
@ -131,7 +131,10 @@ const paginationConfig = reactive({
|
|||
*/
|
||||
const initInterval = () => {
|
||||
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)
|
||||
}
|
||||
}, 6000)
|
||||
|
|
|
|||
Loading…
Reference in New Issue