v3.2
wangdan-fit2cloud 2024-01-24 10:38:48 +08:00
parent 2008758cc7
commit 7f7ad8b3cd
2 changed files with 8 additions and 7 deletions

View File

@ -60,7 +60,7 @@ const form = ref<any>({
const documentId = ref('') const documentId = ref('')
const rules = reactive({ const rules = reactive({
source_url: [{ required: true, message: '请输入 Web 根地址', trigger: 'blur' }] source_url: [{ required: true, message: '请输入文档地址', trigger: 'blur' }]
}) })
const dialogVisible = ref<boolean>(false) const dialogVisible = ref<boolean>(false)

View File

@ -205,12 +205,13 @@ 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)
} // }
getList(true)
}, 6000) }, 6000)
} }