Skip to content

Commit 5b5709c

Browse files
committed
fix: Export application error prompt repeated
1 parent 4bff2b4 commit 5b5709c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ui/src/views/application/index.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,11 @@ function settingApplication(row: any) {
226226
}
227227
const exportApplication = (application: any) => {
228228
applicationApi.exportApplication(application.id, application.name, loading).catch((e) => {
229-
e.response.data.text().then((res: string) => {
230-
MsgError(`导出失败:${JSON.parse(res).message}`)
231-
})
229+
if (e.response.status !== 403) {
230+
e.response.data.text().then((res: string) => {
231+
MsgError(`导出失败:${JSON.parse(res).message}`)
232+
})
233+
}
232234
})
233235
}
234236
const importApplication = (file: any) => {

0 commit comments

Comments
 (0)