mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Export application error prompt repeated (#1945)
This commit is contained in:
parent
4bff2b4f38
commit
cb6e4b7295
|
|
@ -226,9 +226,11 @@ function settingApplication(row: any) {
|
|||
}
|
||||
const exportApplication = (application: any) => {
|
||||
applicationApi.exportApplication(application.id, application.name, loading).catch((e) => {
|
||||
e.response.data.text().then((res: string) => {
|
||||
MsgError(`导出失败:${JSON.parse(res).message}`)
|
||||
})
|
||||
if (e.response.status !== 403) {
|
||||
e.response.data.text().then((res: string) => {
|
||||
MsgError(`导出失败:${JSON.parse(res).message}`)
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
const importApplication = (file: any) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue