diff --git a/yudao-module-tool/yudao-module-tool-impl/src/main/resources/codegen/vue/views/index.vue.vm b/yudao-module-tool/yudao-module-tool-impl/src/main/resources/codegen/vue/views/index.vue.vm index 65daf1430..507322a93 100644 --- a/yudao-module-tool/yudao-module-tool-impl/src/main/resources/codegen/vue/views/index.vue.vm +++ b/yudao-module-tool/yudao-module-tool-impl/src/main/resources/codegen/vue/views/index.vue.vm @@ -373,7 +373,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -400,7 +400,7 @@ export default { }).then(response => { this.downloadExcel(response, '${table.classComment}.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/layout/components/Navbar.vue b/yudao-ui-admin/src/layout/components/Navbar.vue index aee95e965..466cd981e 100644 --- a/yudao-ui-admin/src/layout/components/Navbar.vue +++ b/yudao-ui-admin/src/layout/components/Navbar.vue @@ -104,7 +104,7 @@ export default { this.$store.dispatch('LogOut').then(() => { location.href = '/index'; }) - }) + }).catch(() => {}); } } } diff --git a/yudao-ui-admin/src/utils/request.js b/yudao-ui-admin/src/utils/request.js index ee2fee18a..19833119f 100644 --- a/yudao-ui-admin/src/utils/request.js +++ b/yudao-ui-admin/src/utils/request.js @@ -72,7 +72,7 @@ service.interceptors.response.use(res => { // } location.href = '/index'; }) - }) + }).catch(() => {}); } else if (code === 500) { Message({ message: msg, diff --git a/yudao-ui-admin/src/views/bpm/form/index.vue b/yudao-ui-admin/src/views/bpm/form/index.vue index 41be534d3..bcedf5a8c 100644 --- a/yudao-ui-admin/src/views/bpm/form/index.vue +++ b/yudao-ui-admin/src/views/bpm/form/index.vue @@ -159,7 +159,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/bpm/group/index.vue b/yudao-ui-admin/src/views/bpm/group/index.vue index 9b2372c99..2fc125656 100644 --- a/yudao-ui-admin/src/views/bpm/group/index.vue +++ b/yudao-ui-admin/src/views/bpm/group/index.vue @@ -239,7 +239,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, getUserNickname(userId) { for (const user of this.users) { diff --git a/yudao-ui-admin/src/views/bpm/model/index.vue b/yudao-ui-admin/src/views/bpm/model/index.vue index 6a6632573..9b1817e41 100644 --- a/yudao-ui-admin/src/views/bpm/model/index.vue +++ b/yudao-ui-admin/src/views/bpm/model/index.vue @@ -434,7 +434,7 @@ export default { that.getList(); that.msgSuccess("删除成功"); }) - }) + }).catch(() => {}); }, /** 部署按钮操作 */ handleDeploy(row) { @@ -448,7 +448,7 @@ export default { that.getList(); that.msgSuccess("部署成功"); }) - }) + }).catch(() => {}); }, /** 流程表单的详情按钮操作 */ handleFormDetail(row) { @@ -500,7 +500,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess(statusState + "成功"); - }) + }).catch(() => {}); }, /** 导入按钮操作 */ handleImport() { diff --git a/yudao-ui-admin/src/views/infra/apiAccessLog/index.vue b/yudao-ui-admin/src/views/infra/apiAccessLog/index.vue index 044a70643..fa5ba466d 100644 --- a/yudao-ui-admin/src/views/infra/apiAccessLog/index.vue +++ b/yudao-ui-admin/src/views/infra/apiAccessLog/index.vue @@ -212,7 +212,7 @@ export default { }).then(response => { this.downloadExcel(response, 'API 访问日志.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/infra/apiErrorLog/index.vue b/yudao-ui-admin/src/views/infra/apiErrorLog/index.vue index 3db6fc268..8b8222075 100644 --- a/yudao-ui-admin/src/views/infra/apiErrorLog/index.vue +++ b/yudao-ui-admin/src/views/infra/apiErrorLog/index.vue @@ -214,7 +214,7 @@ export default { this.msgSuccess("修改成功"); this.getList(); }); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -234,7 +234,7 @@ export default { }).then(response => { this.downloadExcel(response, 'API 错误日志.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/infra/config/index.vue b/yudao-ui-admin/src/views/infra/config/index.vue index 6ad67ce2a..2da7aee0b 100644 --- a/yudao-ui-admin/src/views/infra/config/index.vue +++ b/yudao-ui-admin/src/views/infra/config/index.vue @@ -264,7 +264,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -282,7 +282,7 @@ export default { }).then(response => { this.downloadExcel(response, '参数配置.xls'); this.exportLoading = false; - }) + }).catch(() => {}); }, } }; diff --git a/yudao-ui-admin/src/views/infra/file/index.vue b/yudao-ui-admin/src/views/infra/file/index.vue index 868f16144..b475a1cc5 100644 --- a/yudao-ui-admin/src/views/infra/file/index.vue +++ b/yudao-ui-admin/src/views/infra/file/index.vue @@ -195,7 +195,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, } }; diff --git a/yudao-ui-admin/src/views/infra/job/index.vue b/yudao-ui-admin/src/views/infra/job/index.vue index a0d8ba0d0..0a2a072f4 100644 --- a/yudao-ui-admin/src/views/infra/job/index.vue +++ b/yudao-ui-admin/src/views/infra/job/index.vue @@ -229,7 +229,7 @@ export default { return runJob(row.id); }).then(() => { this.msgSuccess("执行成功"); - }) + }).catch(() => {}); }, /** 任务详细信息 */ handleView(row) { @@ -303,7 +303,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 更新状态操作 */ handleChangeStatus(row, open) { @@ -319,7 +319,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess(statusStr + "成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -334,7 +334,7 @@ export default { }).then(response => { this.downloadExcel(response, '定时任务.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/infra/job/log.vue b/yudao-ui-admin/src/views/infra/job/log.vue index d4f53f1a0..11416e8df 100644 --- a/yudao-ui-admin/src/views/infra/job/log.vue +++ b/yudao-ui-admin/src/views/infra/job/log.vue @@ -173,7 +173,7 @@ export default { }).then(response => { this.downloadExcel(response, '定时任务日志.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/pay/app/index.vue b/yudao-ui-admin/src/views/pay/app/index.vue index f4d8c6a38..08f92959f 100644 --- a/yudao-ui-admin/src/views/pay/app/index.vue +++ b/yudao-ui-admin/src/views/pay/app/index.vue @@ -430,7 +430,7 @@ export default { return exportAppExcel(params); }).then(response => { this.downloadExcel(response, '支付应用信息.xls'); - }) + }).catch(() => {}); }, /** * 根据商户名称模糊匹配商户信息 diff --git a/yudao-ui-admin/src/views/pay/merchant/index.vue b/yudao-ui-admin/src/views/pay/merchant/index.vue index 4f2758915..b3ee9c868 100644 --- a/yudao-ui-admin/src/views/pay/merchant/index.vue +++ b/yudao-ui-admin/src/views/pay/merchant/index.vue @@ -273,7 +273,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -293,7 +293,7 @@ export default { }).then(response => { this.downloadExcel(response, '支付商户信息.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/pay/order/index.vue b/yudao-ui-admin/src/views/pay/order/index.vue index 143354c89..bd4b38e81 100755 --- a/yudao-ui-admin/src/views/pay/order/index.vue +++ b/yudao-ui-admin/src/views/pay/order/index.vue @@ -473,7 +473,7 @@ export default { return exportOrderExcel(params); }).then(response => { this.downloadExcel(response, '支付订单.xls'); - }) + }).catch(() => {}); }, /** * 根据商户名称模糊匹配商户信息 diff --git a/yudao-ui-admin/src/views/pay/refund/index.vue b/yudao-ui-admin/src/views/pay/refund/index.vue index 51fcf7b33..7aa861dfd 100755 --- a/yudao-ui-admin/src/views/pay/refund/index.vue +++ b/yudao-ui-admin/src/views/pay/refund/index.vue @@ -442,7 +442,7 @@ export default { return exportRefundExcel(params); }).then(response => { this.downloadExcel(response, '退款订单.xls'); - }) + }).catch(() => {}); }, /** * 根据商户名称模糊匹配商户信息 diff --git a/yudao-ui-admin/src/views/system/dept/index.vue b/yudao-ui-admin/src/views/system/dept/index.vue index d61497556..8fac1182a 100644 --- a/yudao-ui-admin/src/views/system/dept/index.vue +++ b/yudao-ui-admin/src/views/system/dept/index.vue @@ -298,7 +298,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/dict/data.vue b/yudao-ui-admin/src/views/system/dict/data.vue index 57df3bde9..b4f30d178 100644 --- a/yudao-ui-admin/src/views/system/dict/data.vue +++ b/yudao-ui-admin/src/views/system/dict/data.vue @@ -259,7 +259,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -274,7 +274,7 @@ export default { }).then(response => { this.downloadExcel(response, '字典数据.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/dict/index.vue b/yudao-ui-admin/src/views/system/dict/index.vue index ba8b90b95..9a35ceaf8 100644 --- a/yudao-ui-admin/src/views/system/dict/index.vue +++ b/yudao-ui-admin/src/views/system/dict/index.vue @@ -240,7 +240,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -260,7 +260,7 @@ export default { }).then(response => { this.downloadExcel(response, '字典类型.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/errorCode/index.vue b/yudao-ui-admin/src/views/system/errorCode/index.vue index 672bccb39..0a9ca2a08 100644 --- a/yudao-ui-admin/src/views/system/errorCode/index.vue +++ b/yudao-ui-admin/src/views/system/errorCode/index.vue @@ -233,7 +233,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -253,7 +253,7 @@ export default { }).then(response => { this.downloadExcel(response, '错误码.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/loginlog/index.vue b/yudao-ui-admin/src/views/system/loginlog/index.vue index b0187c6a4..52a5dd72e 100644 --- a/yudao-ui-admin/src/views/system/loginlog/index.vue +++ b/yudao-ui-admin/src/views/system/loginlog/index.vue @@ -137,7 +137,7 @@ export default { }).then(response => { this.downloadExcel(response, '登录日志.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/menu/index.vue b/yudao-ui-admin/src/views/system/menu/index.vue index 1e5a8ad2e..ca4bbe7f9 100644 --- a/yudao-ui-admin/src/views/system/menu/index.vue +++ b/yudao-ui-admin/src/views/system/menu/index.vue @@ -320,7 +320,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/notice/index.vue b/yudao-ui-admin/src/views/system/notice/index.vue index a47f5ecd4..2033eb147 100644 --- a/yudao-ui-admin/src/views/system/notice/index.vue +++ b/yudao-ui-admin/src/views/system/notice/index.vue @@ -245,7 +245,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/operatelog/index.vue b/yudao-ui-admin/src/views/system/operatelog/index.vue index 736cfedb5..65ee68cf1 100644 --- a/yudao-ui-admin/src/views/system/operatelog/index.vue +++ b/yudao-ui-admin/src/views/system/operatelog/index.vue @@ -224,7 +224,7 @@ export default { }).then(response => { this.downloadExcel(response, '操作日志.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/post/index.vue b/yudao-ui-admin/src/views/system/post/index.vue index 70b9e0668..380101dc9 100644 --- a/yudao-ui-admin/src/views/system/post/index.vue +++ b/yudao-ui-admin/src/views/system/post/index.vue @@ -231,7 +231,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -246,7 +246,7 @@ export default { }).then(response => { this.downloadExcel(response, '岗位数据.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/role/index.vue b/yudao-ui-admin/src/views/system/role/index.vue index ce101a967..53b19890b 100644 --- a/yudao-ui-admin/src/views/system/role/index.vue +++ b/yudao-ui-admin/src/views/system/role/index.vue @@ -496,7 +496,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -511,7 +511,7 @@ export default { }).then(response => { this.downloadExcel(response, '角色数据.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/session/index.vue b/yudao-ui-admin/src/views/system/session/index.vue index 6d91dfeb0..87ceb64c6 100644 --- a/yudao-ui-admin/src/views/system/session/index.vue +++ b/yudao-ui-admin/src/views/system/session/index.vue @@ -92,7 +92,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("强退成功"); - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/sms/smsChannel.vue b/yudao-ui-admin/src/views/system/sms/smsChannel.vue index 59233c266..d57f4872d 100644 --- a/yudao-ui-admin/src/views/system/sms/smsChannel.vue +++ b/yudao-ui-admin/src/views/system/sms/smsChannel.vue @@ -242,7 +242,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/sms/smsLog.vue b/yudao-ui-admin/src/views/system/sms/smsLog.vue index 18810db64..0e65b60e1 100644 --- a/yudao-ui-admin/src/views/system/sms/smsLog.vue +++ b/yudao-ui-admin/src/views/system/sms/smsLog.vue @@ -283,7 +283,7 @@ export default { }).then(response => { this.downloadExcel(response, '短信日志.xls'); this.exportLoading = false; - }) + }).catch(() => {}); }, /** 详细按钮操作 */ handleView(row) { diff --git a/yudao-ui-admin/src/views/system/sms/smsTemplate.vue b/yudao-ui-admin/src/views/system/sms/smsTemplate.vue index e4b6a18c5..548984f9b 100644 --- a/yudao-ui-admin/src/views/system/sms/smsTemplate.vue +++ b/yudao-ui-admin/src/views/system/sms/smsTemplate.vue @@ -324,7 +324,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -344,7 +344,7 @@ export default { }).then(response => { this.downloadExcel(response, '短信模板.xls'); this.exportLoading = false; - }) + }).catch(() => {}); }, /** 发送短息按钮 */ handleSendSms(row) { diff --git a/yudao-ui-admin/src/views/system/tenant/index.vue b/yudao-ui-admin/src/views/system/tenant/index.vue index 7e11c38ed..7796280fe 100755 --- a/yudao-ui-admin/src/views/system/tenant/index.vue +++ b/yudao-ui-admin/src/views/system/tenant/index.vue @@ -236,7 +236,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -256,7 +256,7 @@ export default { }).then(response => { this.downloadExcel(response, '租户.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } }; diff --git a/yudao-ui-admin/src/views/system/user/index.vue b/yudao-ui-admin/src/views/system/user/index.vue index cf3a1a60a..52c22a6c4 100644 --- a/yudao-ui-admin/src/views/system/user/index.vue +++ b/yudao-ui-admin/src/views/system/user/index.vue @@ -589,7 +589,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -607,7 +607,7 @@ export default { }).then(response => { this.downloadExcel(response, '用户数据.xls'); this.exportLoading = false; - }) + }).catch(() => {}); }, /** 导入按钮操作 */ handleImport() { diff --git a/yudao-ui-admin/src/views/tool/build/FormDrawer.vue b/yudao-ui-admin/src/views/tool/build/FormDrawer.vue index 88ee06602..ef17ba5c5 100644 --- a/yudao-ui-admin/src/views/tool/build/FormDrawer.vue +++ b/yudao-ui-admin/src/views/tool/build/FormDrawer.vue @@ -218,8 +218,7 @@ export default { '提示', { type: 'warning' - } - ) + }).catch(() => {}); return } if (astBody[0].type === 'ExportDefaultDeclaration') { diff --git a/yudao-ui-admin/src/views/tool/build/index.vue b/yudao-ui-admin/src/views/tool/build/index.vue index 637a25662..067e3f7ea 100644 --- a/yudao-ui-admin/src/views/tool/build/index.vue +++ b/yudao-ui-admin/src/views/tool/build/index.vue @@ -381,8 +381,7 @@ export default { () => { this.drawingList = [] this.idGlobal = 100 - } - ) + }).catch(() => {}); }, drawingItemCopy(item, list) { let clone = deepClone(item) diff --git a/yudao-ui-admin/src/views/tool/codegen/index.vue b/yudao-ui-admin/src/views/tool/codegen/index.vue index f269abd97..e19398f44 100644 --- a/yudao-ui-admin/src/views/tool/codegen/index.vue +++ b/yudao-ui-admin/src/views/tool/codegen/index.vue @@ -213,7 +213,7 @@ export default { return syncCodegenFromDB(row.id); }).then(() => { this.msgSuccess("同步成功"); - }) + }).catch(() => {}); }, /** 打开导入表弹窗 */ openImportTable() { @@ -335,7 +335,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, // 取消按钮 cancel() { diff --git a/yudao-ui-admin/src/views/tool/testDemo/index.vue b/yudao-ui-admin/src/views/tool/testDemo/index.vue index 8c23b2e21..47b639a64 100755 --- a/yudao-ui-admin/src/views/tool/testDemo/index.vue +++ b/yudao-ui-admin/src/views/tool/testDemo/index.vue @@ -243,7 +243,7 @@ export default { }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -263,7 +263,7 @@ export default { }).then(response => { this.downloadExcel(response, '字典类型.xls'); this.exportLoading = false; - }) + }).catch(() => {}); } } };