|
@@ -2783,8 +2783,11 @@ const getImportProgressData = async () => {
|
|
|
clearProgressTimer()
|
|
|
// 可以添加完成后的处理逻辑
|
|
|
window.$message.success('导入完成')
|
|
|
+ isCanClickImport.value = false
|
|
|
divisionImportDialog.value = false
|
|
|
- window.location.reload()
|
|
|
+ setTimeout(() => {
|
|
|
+ window.location.reload()
|
|
|
+ }, 1000)
|
|
|
}
|
|
|
} else {
|
|
|
progressData.value = 0
|
|
@@ -2904,6 +2907,8 @@ const confirmTap = async ()=>{
|
|
|
await getIsImportData()
|
|
|
if ( isCanClickImport.value) {
|
|
|
startProgressTimer()
|
|
|
+ } else {
|
|
|
+ divisionSaveClick()
|
|
|
}
|
|
|
}, 3000)
|
|
|
|