mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
This commit is contained in:
parent
be4f0ffb6b
commit
07ee09c50f
|
|
@ -560,9 +560,13 @@ function importTool(file: any) {
|
|||
.then(async (res: any) => {
|
||||
if (res?.data) {
|
||||
tool.setToolList([])
|
||||
getList()
|
||||
return user.profile()
|
||||
}
|
||||
})
|
||||
.then(() => {
|
||||
getList()
|
||||
|
||||
})
|
||||
.catch((e: any) => {
|
||||
if (e.code === 400) {
|
||||
MsgConfirm(t('common.tip'), t('views.application.tip.professionalMessage'), {
|
||||
|
|
|
|||
Loading…
Reference in New Issue