fix: axios bugs

This commit is contained in:
xingyu
2022-08-02 11:05:11 +08:00
parent 02315804ac
commit 8edce3874a
2 changed files with 19 additions and 9 deletions

View File

@ -269,6 +269,7 @@ const handleFileSuccess = (response: any): void => {
text += '< ' + username + ': ' + data.failureUsernames[username] + ' >'
}
message.alert(text)
getList()
}
// 文件数超出提示
const handleExceed = (): void => {
@ -282,8 +283,8 @@ const excelUploadError = (): void => {
onMounted(async () => {
await getTree()
await getPostOptions()
await getList()
})
getList()
</script>
<template>