fix: Imported tool create
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run

This commit is contained in:
zhangzhanwei 2025-07-12 16:29:01 +08:00 committed by zhanweizhang7
parent be4f0ffb6b
commit 07ee09c50f

View File

@ -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'), {