mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-28 05:42:51 +00:00
feat:
This commit is contained in:
parent
2008758cc7
commit
7f7ad8b3cd
|
|
@ -60,7 +60,7 @@ const form = ref<any>({
|
|||
const documentId = ref('')
|
||||
|
||||
const rules = reactive({
|
||||
source_url: [{ required: true, message: '请输入 Web 根地址', trigger: 'blur' }]
|
||||
source_url: [{ required: true, message: '请输入文档地址', trigger: 'blur' }]
|
||||
})
|
||||
|
||||
const dialogVisible = ref<boolean>(false)
|
||||
|
|
|
|||
|
|
@ -205,12 +205,13 @@ const handleSelectionChange = (val: any[]) => {
|
|||
*/
|
||||
const initInterval = () => {
|
||||
interval = setInterval(() => {
|
||||
if (
|
||||
documentData.value.length === 0 ||
|
||||
documentData.value.some((item) => item.status === '0' || item.status === '2')
|
||||
) {
|
||||
getList(true)
|
||||
}
|
||||
// if (
|
||||
// documentData.value.length === 0 ||
|
||||
// documentData.value.some((item) => item.status === '0' || item.status === '2')
|
||||
// ) {
|
||||
// getList(true)
|
||||
// }
|
||||
getList(true)
|
||||
}, 6000)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue