Commit e3c31c353ad540fe5d36e96d541c6fbcba7e944a

Authored by YunaiV
1 parent c06a96b7

v3.5.0 修复关闭confirm提示框控制台报错问题

Showing 36 changed files with 55 additions and 57 deletions
yudao-module-tool/yudao-module-tool-impl/src/main/resources/codegen/vue/views/index.vue.vm
@@ -373,7 +373,7 @@ export default { @@ -373,7 +373,7 @@ export default {
373 }).then(() => { 373 }).then(() => {
374 this.getList(); 374 this.getList();
375 this.msgSuccess("删除成功"); 375 this.msgSuccess("删除成功");
376 - }) 376 + }).catch(() => {});
377 }, 377 },
378 /** 导出按钮操作 */ 378 /** 导出按钮操作 */
379 handleExport() { 379 handleExport() {
@@ -400,7 +400,7 @@ export default { @@ -400,7 +400,7 @@ export default {
400 }).then(response => { 400 }).then(response => {
401 this.downloadExcel(response, '${table.classComment}.xls'); 401 this.downloadExcel(response, '${table.classComment}.xls');
402 this.exportLoading = false; 402 this.exportLoading = false;
403 - }) 403 + }).catch(() => {});
404 } 404 }
405 } 405 }
406 }; 406 };
yudao-ui-admin/src/layout/components/Navbar.vue
@@ -104,7 +104,7 @@ export default { @@ -104,7 +104,7 @@ export default {
104 this.$store.dispatch('LogOut').then(() => { 104 this.$store.dispatch('LogOut').then(() => {
105 location.href = '/index'; 105 location.href = '/index';
106 }) 106 })
107 - }) 107 + }).catch(() => {});
108 } 108 }
109 } 109 }
110 } 110 }
yudao-ui-admin/src/utils/request.js
@@ -72,7 +72,7 @@ service.interceptors.response.use(res => { @@ -72,7 +72,7 @@ service.interceptors.response.use(res => {
72 // } 72 // }
73 location.href = '/index'; 73 location.href = '/index';
74 }) 74 })
75 - }) 75 + }).catch(() => {});
76 } else if (code === 500) { 76 } else if (code === 500) {
77 Message({ 77 Message({
78 message: msg, 78 message: msg,
yudao-ui-admin/src/views/bpm/form/index.vue
@@ -159,7 +159,7 @@ export default { @@ -159,7 +159,7 @@ export default {
159 }).then(() => { 159 }).then(() => {
160 this.getList(); 160 this.getList();
161 this.msgSuccess("删除成功"); 161 this.msgSuccess("删除成功");
162 - }) 162 + }).catch(() => {});
163 } 163 }
164 } 164 }
165 }; 165 };
yudao-ui-admin/src/views/bpm/group/index.vue
@@ -239,7 +239,7 @@ export default { @@ -239,7 +239,7 @@ export default {
239 }).then(() => { 239 }).then(() => {
240 this.getList(); 240 this.getList();
241 this.msgSuccess("删除成功"); 241 this.msgSuccess("删除成功");
242 - }) 242 + }).catch(() => {});
243 }, 243 },
244 getUserNickname(userId) { 244 getUserNickname(userId) {
245 for (const user of this.users) { 245 for (const user of this.users) {
yudao-ui-admin/src/views/bpm/model/index.vue
@@ -434,7 +434,7 @@ export default { @@ -434,7 +434,7 @@ export default {
434 that.getList(); 434 that.getList();
435 that.msgSuccess("删除成功"); 435 that.msgSuccess("删除成功");
436 }) 436 })
437 - }) 437 + }).catch(() => {});
438 }, 438 },
439 /** 部署按钮操作 */ 439 /** 部署按钮操作 */
440 handleDeploy(row) { 440 handleDeploy(row) {
@@ -448,7 +448,7 @@ export default { @@ -448,7 +448,7 @@ export default {
448 that.getList(); 448 that.getList();
449 that.msgSuccess("部署成功"); 449 that.msgSuccess("部署成功");
450 }) 450 })
451 - }) 451 + }).catch(() => {});
452 }, 452 },
453 /** 流程表单的详情按钮操作 */ 453 /** 流程表单的详情按钮操作 */
454 handleFormDetail(row) { 454 handleFormDetail(row) {
@@ -500,7 +500,7 @@ export default { @@ -500,7 +500,7 @@ export default {
500 }).then(() => { 500 }).then(() => {
501 this.getList(); 501 this.getList();
502 this.msgSuccess(statusState + "成功"); 502 this.msgSuccess(statusState + "成功");
503 - }) 503 + }).catch(() => {});
504 }, 504 },
505 /** 导入按钮操作 */ 505 /** 导入按钮操作 */
506 handleImport() { 506 handleImport() {
yudao-ui-admin/src/views/infra/apiAccessLog/index.vue
@@ -212,7 +212,7 @@ export default { @@ -212,7 +212,7 @@ export default {
212 }).then(response => { 212 }).then(response => {
213 this.downloadExcel(response, 'API 访问日志.xls'); 213 this.downloadExcel(response, 'API 访问日志.xls');
214 this.exportLoading = false; 214 this.exportLoading = false;
215 - }) 215 + }).catch(() => {});
216 } 216 }
217 } 217 }
218 }; 218 };
yudao-ui-admin/src/views/infra/apiErrorLog/index.vue
@@ -214,7 +214,7 @@ export default { @@ -214,7 +214,7 @@ export default {
214 this.msgSuccess("修改成功"); 214 this.msgSuccess("修改成功");
215 this.getList(); 215 this.getList();
216 }); 216 });
217 - }) 217 + }).catch(() => {});
218 }, 218 },
219 /** 导出按钮操作 */ 219 /** 导出按钮操作 */
220 handleExport() { 220 handleExport() {
@@ -234,7 +234,7 @@ export default { @@ -234,7 +234,7 @@ export default {
234 }).then(response => { 234 }).then(response => {
235 this.downloadExcel(response, 'API 错误日志.xls'); 235 this.downloadExcel(response, 'API 错误日志.xls');
236 this.exportLoading = false; 236 this.exportLoading = false;
237 - }) 237 + }).catch(() => {});
238 } 238 }
239 } 239 }
240 }; 240 };
yudao-ui-admin/src/views/infra/config/index.vue
@@ -264,7 +264,7 @@ export default { @@ -264,7 +264,7 @@ export default {
264 }).then(() => { 264 }).then(() => {
265 this.getList(); 265 this.getList();
266 this.msgSuccess("删除成功"); 266 this.msgSuccess("删除成功");
267 - }) 267 + }).catch(() => {});
268 }, 268 },
269 /** 导出按钮操作 */ 269 /** 导出按钮操作 */
270 handleExport() { 270 handleExport() {
@@ -282,7 +282,7 @@ export default { @@ -282,7 +282,7 @@ export default {
282 }).then(response => { 282 }).then(response => {
283 this.downloadExcel(response, '参数配置.xls'); 283 this.downloadExcel(response, '参数配置.xls');
284 this.exportLoading = false; 284 this.exportLoading = false;
285 - }) 285 + }).catch(() => {});
286 }, 286 },
287 } 287 }
288 }; 288 };
yudao-ui-admin/src/views/infra/file/index.vue
@@ -195,7 +195,7 @@ export default { @@ -195,7 +195,7 @@ export default {
195 }).then(() => { 195 }).then(() => {
196 this.getList(); 196 this.getList();
197 this.msgSuccess("删除成功"); 197 this.msgSuccess("删除成功");
198 - }) 198 + }).catch(() => {});
199 }, 199 },
200 } 200 }
201 }; 201 };
yudao-ui-admin/src/views/infra/job/index.vue
@@ -229,7 +229,7 @@ export default { @@ -229,7 +229,7 @@ export default {
229 return runJob(row.id); 229 return runJob(row.id);
230 }).then(() => { 230 }).then(() => {
231 this.msgSuccess("执行成功"); 231 this.msgSuccess("执行成功");
232 - }) 232 + }).catch(() => {});
233 }, 233 },
234 /** 任务详细信息 */ 234 /** 任务详细信息 */
235 handleView(row) { 235 handleView(row) {
@@ -303,7 +303,7 @@ export default { @@ -303,7 +303,7 @@ export default {
303 }).then(() => { 303 }).then(() => {
304 this.getList(); 304 this.getList();
305 this.msgSuccess("删除成功"); 305 this.msgSuccess("删除成功");
306 - }) 306 + }).catch(() => {});
307 }, 307 },
308 /** 更新状态操作 */ 308 /** 更新状态操作 */
309 handleChangeStatus(row, open) { 309 handleChangeStatus(row, open) {
@@ -319,7 +319,7 @@ export default { @@ -319,7 +319,7 @@ export default {
319 }).then(() => { 319 }).then(() => {
320 this.getList(); 320 this.getList();
321 this.msgSuccess(statusStr + "成功"); 321 this.msgSuccess(statusStr + "成功");
322 - }) 322 + }).catch(() => {});
323 }, 323 },
324 /** 导出按钮操作 */ 324 /** 导出按钮操作 */
325 handleExport() { 325 handleExport() {
@@ -334,7 +334,7 @@ export default { @@ -334,7 +334,7 @@ export default {
334 }).then(response => { 334 }).then(response => {
335 this.downloadExcel(response, '定时任务.xls'); 335 this.downloadExcel(response, '定时任务.xls');
336 this.exportLoading = false; 336 this.exportLoading = false;
337 - }) 337 + }).catch(() => {});
338 } 338 }
339 } 339 }
340 }; 340 };
yudao-ui-admin/src/views/infra/job/log.vue
@@ -173,7 +173,7 @@ export default { @@ -173,7 +173,7 @@ export default {
173 }).then(response => { 173 }).then(response => {
174 this.downloadExcel(response, '定时任务日志.xls'); 174 this.downloadExcel(response, '定时任务日志.xls');
175 this.exportLoading = false; 175 this.exportLoading = false;
176 - }) 176 + }).catch(() => {});
177 } 177 }
178 } 178 }
179 }; 179 };
yudao-ui-admin/src/views/pay/app/index.vue
@@ -430,7 +430,7 @@ export default { @@ -430,7 +430,7 @@ export default {
430 return exportAppExcel(params); 430 return exportAppExcel(params);
431 }).then(response => { 431 }).then(response => {
432 this.downloadExcel(response, '支付应用信息.xls'); 432 this.downloadExcel(response, '支付应用信息.xls');
433 - }) 433 + }).catch(() => {});
434 }, 434 },
435 /** 435 /**
436 * 根据商户名称模糊匹配商户信息 436 * 根据商户名称模糊匹配商户信息
yudao-ui-admin/src/views/pay/merchant/index.vue
@@ -273,7 +273,7 @@ export default { @@ -273,7 +273,7 @@ export default {
273 }).then(() => { 273 }).then(() => {
274 this.getList(); 274 this.getList();
275 this.msgSuccess("删除成功"); 275 this.msgSuccess("删除成功");
276 - }) 276 + }).catch(() => {});
277 }, 277 },
278 /** 导出按钮操作 */ 278 /** 导出按钮操作 */
279 handleExport() { 279 handleExport() {
@@ -293,7 +293,7 @@ export default { @@ -293,7 +293,7 @@ export default {
293 }).then(response => { 293 }).then(response => {
294 this.downloadExcel(response, '支付商户信息.xls'); 294 this.downloadExcel(response, '支付商户信息.xls');
295 this.exportLoading = false; 295 this.exportLoading = false;
296 - }) 296 + }).catch(() => {});
297 } 297 }
298 } 298 }
299 }; 299 };
yudao-ui-admin/src/views/pay/order/index.vue
@@ -473,7 +473,7 @@ export default { @@ -473,7 +473,7 @@ export default {
473 return exportOrderExcel(params); 473 return exportOrderExcel(params);
474 }).then(response => { 474 }).then(response => {
475 this.downloadExcel(response, '支付订单.xls'); 475 this.downloadExcel(response, '支付订单.xls');
476 - }) 476 + }).catch(() => {});
477 }, 477 },
478 /** 478 /**
479 * 根据商户名称模糊匹配商户信息 479 * 根据商户名称模糊匹配商户信息
yudao-ui-admin/src/views/pay/refund/index.vue
@@ -442,7 +442,7 @@ export default { @@ -442,7 +442,7 @@ export default {
442 return exportRefundExcel(params); 442 return exportRefundExcel(params);
443 }).then(response => { 443 }).then(response => {
444 this.downloadExcel(response, '退款订单.xls'); 444 this.downloadExcel(response, '退款订单.xls');
445 - }) 445 + }).catch(() => {});
446 }, 446 },
447 /** 447 /**
448 * 根据商户名称模糊匹配商户信息 448 * 根据商户名称模糊匹配商户信息
yudao-ui-admin/src/views/system/dept/index.vue
@@ -298,7 +298,7 @@ export default { @@ -298,7 +298,7 @@ export default {
298 }).then(() => { 298 }).then(() => {
299 this.getList(); 299 this.getList();
300 this.msgSuccess("删除成功"); 300 this.msgSuccess("删除成功");
301 - }) 301 + }).catch(() => {});
302 } 302 }
303 } 303 }
304 }; 304 };
yudao-ui-admin/src/views/system/dict/data.vue
@@ -259,7 +259,7 @@ export default { @@ -259,7 +259,7 @@ export default {
259 }).then(() => { 259 }).then(() => {
260 this.getList(); 260 this.getList();
261 this.msgSuccess("删除成功"); 261 this.msgSuccess("删除成功");
262 - }) 262 + }).catch(() => {});
263 }, 263 },
264 /** 导出按钮操作 */ 264 /** 导出按钮操作 */
265 handleExport() { 265 handleExport() {
@@ -274,7 +274,7 @@ export default { @@ -274,7 +274,7 @@ export default {
274 }).then(response => { 274 }).then(response => {
275 this.downloadExcel(response, '字典数据.xls'); 275 this.downloadExcel(response, '字典数据.xls');
276 this.exportLoading = false; 276 this.exportLoading = false;
277 - }) 277 + }).catch(() => {});
278 } 278 }
279 } 279 }
280 }; 280 };
yudao-ui-admin/src/views/system/dict/index.vue
@@ -240,7 +240,7 @@ export default { @@ -240,7 +240,7 @@ export default {
240 }).then(() => { 240 }).then(() => {
241 this.getList(); 241 this.getList();
242 this.msgSuccess("删除成功"); 242 this.msgSuccess("删除成功");
243 - }) 243 + }).catch(() => {});
244 }, 244 },
245 /** 导出按钮操作 */ 245 /** 导出按钮操作 */
246 handleExport() { 246 handleExport() {
@@ -260,7 +260,7 @@ export default { @@ -260,7 +260,7 @@ export default {
260 }).then(response => { 260 }).then(response => {
261 this.downloadExcel(response, '字典类型.xls'); 261 this.downloadExcel(response, '字典类型.xls');
262 this.exportLoading = false; 262 this.exportLoading = false;
263 - }) 263 + }).catch(() => {});
264 } 264 }
265 } 265 }
266 }; 266 };
yudao-ui-admin/src/views/system/errorCode/index.vue
@@ -233,7 +233,7 @@ export default { @@ -233,7 +233,7 @@ export default {
233 }).then(() => { 233 }).then(() => {
234 this.getList(); 234 this.getList();
235 this.msgSuccess("删除成功"); 235 this.msgSuccess("删除成功");
236 - }) 236 + }).catch(() => {});
237 }, 237 },
238 /** 导出按钮操作 */ 238 /** 导出按钮操作 */
239 handleExport() { 239 handleExport() {
@@ -253,7 +253,7 @@ export default { @@ -253,7 +253,7 @@ export default {
253 }).then(response => { 253 }).then(response => {
254 this.downloadExcel(response, '错误码.xls'); 254 this.downloadExcel(response, '错误码.xls');
255 this.exportLoading = false; 255 this.exportLoading = false;
256 - }) 256 + }).catch(() => {});
257 } 257 }
258 } 258 }
259 }; 259 };
yudao-ui-admin/src/views/system/loginlog/index.vue
@@ -137,7 +137,7 @@ export default { @@ -137,7 +137,7 @@ export default {
137 }).then(response => { 137 }).then(response => {
138 this.downloadExcel(response, '登录日志.xls'); 138 this.downloadExcel(response, '登录日志.xls');
139 this.exportLoading = false; 139 this.exportLoading = false;
140 - }) 140 + }).catch(() => {});
141 } 141 }
142 } 142 }
143 }; 143 };
yudao-ui-admin/src/views/system/menu/index.vue
@@ -320,7 +320,7 @@ export default { @@ -320,7 +320,7 @@ export default {
320 }).then(() => { 320 }).then(() => {
321 this.getList(); 321 this.getList();
322 this.msgSuccess("删除成功"); 322 this.msgSuccess("删除成功");
323 - }) 323 + }).catch(() => {});
324 } 324 }
325 } 325 }
326 }; 326 };
yudao-ui-admin/src/views/system/notice/index.vue
@@ -245,7 +245,7 @@ export default { @@ -245,7 +245,7 @@ export default {
245 }).then(() => { 245 }).then(() => {
246 this.getList(); 246 this.getList();
247 this.msgSuccess("删除成功"); 247 this.msgSuccess("删除成功");
248 - }) 248 + }).catch(() => {});
249 } 249 }
250 } 250 }
251 }; 251 };
yudao-ui-admin/src/views/system/operatelog/index.vue
@@ -224,7 +224,7 @@ export default { @@ -224,7 +224,7 @@ export default {
224 }).then(response => { 224 }).then(response => {
225 this.downloadExcel(response, '操作日志.xls'); 225 this.downloadExcel(response, '操作日志.xls');
226 this.exportLoading = false; 226 this.exportLoading = false;
227 - }) 227 + }).catch(() => {});
228 } 228 }
229 } 229 }
230 }; 230 };
yudao-ui-admin/src/views/system/post/index.vue
@@ -231,7 +231,7 @@ export default { @@ -231,7 +231,7 @@ export default {
231 }).then(() => { 231 }).then(() => {
232 this.getList(); 232 this.getList();
233 this.msgSuccess("删除成功"); 233 this.msgSuccess("删除成功");
234 - }) 234 + }).catch(() => {});
235 }, 235 },
236 /** 导出按钮操作 */ 236 /** 导出按钮操作 */
237 handleExport() { 237 handleExport() {
@@ -246,7 +246,7 @@ export default { @@ -246,7 +246,7 @@ export default {
246 }).then(response => { 246 }).then(response => {
247 this.downloadExcel(response, '岗位数据.xls'); 247 this.downloadExcel(response, '岗位数据.xls');
248 this.exportLoading = false; 248 this.exportLoading = false;
249 - }) 249 + }).catch(() => {});
250 } 250 }
251 } 251 }
252 }; 252 };
yudao-ui-admin/src/views/system/role/index.vue
@@ -496,7 +496,7 @@ export default { @@ -496,7 +496,7 @@ export default {
496 }).then(() => { 496 }).then(() => {
497 this.getList(); 497 this.getList();
498 this.msgSuccess("删除成功"); 498 this.msgSuccess("删除成功");
499 - }) 499 + }).catch(() => {});
500 }, 500 },
501 /** 导出按钮操作 */ 501 /** 导出按钮操作 */
502 handleExport() { 502 handleExport() {
@@ -511,7 +511,7 @@ export default { @@ -511,7 +511,7 @@ export default {
511 }).then(response => { 511 }).then(response => {
512 this.downloadExcel(response, '角色数据.xls'); 512 this.downloadExcel(response, '角色数据.xls');
513 this.exportLoading = false; 513 this.exportLoading = false;
514 - }) 514 + }).catch(() => {});
515 } 515 }
516 } 516 }
517 }; 517 };
yudao-ui-admin/src/views/system/session/index.vue
@@ -92,7 +92,7 @@ export default { @@ -92,7 +92,7 @@ export default {
92 }).then(() => { 92 }).then(() => {
93 this.getList(); 93 this.getList();
94 this.msgSuccess("强退成功"); 94 this.msgSuccess("强退成功");
95 - }) 95 + }).catch(() => {});
96 } 96 }
97 } 97 }
98 }; 98 };
yudao-ui-admin/src/views/system/sms/smsChannel.vue
@@ -242,7 +242,7 @@ export default { @@ -242,7 +242,7 @@ export default {
242 }).then(() => { 242 }).then(() => {
243 this.getList(); 243 this.getList();
244 this.msgSuccess("删除成功"); 244 this.msgSuccess("删除成功");
245 - }) 245 + }).catch(() => {});
246 } 246 }
247 } 247 }
248 }; 248 };
yudao-ui-admin/src/views/system/sms/smsLog.vue
@@ -283,7 +283,7 @@ export default { @@ -283,7 +283,7 @@ export default {
283 }).then(response => { 283 }).then(response => {
284 this.downloadExcel(response, '短信日志.xls'); 284 this.downloadExcel(response, '短信日志.xls');
285 this.exportLoading = false; 285 this.exportLoading = false;
286 - }) 286 + }).catch(() => {});
287 }, 287 },
288 /** 详细按钮操作 */ 288 /** 详细按钮操作 */
289 handleView(row) { 289 handleView(row) {
yudao-ui-admin/src/views/system/sms/smsTemplate.vue
@@ -324,7 +324,7 @@ export default { @@ -324,7 +324,7 @@ export default {
324 }).then(() => { 324 }).then(() => {
325 this.getList(); 325 this.getList();
326 this.msgSuccess("删除成功"); 326 this.msgSuccess("删除成功");
327 - }) 327 + }).catch(() => {});
328 }, 328 },
329 /** 导出按钮操作 */ 329 /** 导出按钮操作 */
330 handleExport() { 330 handleExport() {
@@ -344,7 +344,7 @@ export default { @@ -344,7 +344,7 @@ export default {
344 }).then(response => { 344 }).then(response => {
345 this.downloadExcel(response, '短信模板.xls'); 345 this.downloadExcel(response, '短信模板.xls');
346 this.exportLoading = false; 346 this.exportLoading = false;
347 - }) 347 + }).catch(() => {});
348 }, 348 },
349 /** 发送短息按钮 */ 349 /** 发送短息按钮 */
350 handleSendSms(row) { 350 handleSendSms(row) {
yudao-ui-admin/src/views/system/tenant/index.vue
@@ -236,7 +236,7 @@ export default { @@ -236,7 +236,7 @@ export default {
236 }).then(() => { 236 }).then(() => {
237 this.getList(); 237 this.getList();
238 this.msgSuccess("删除成功"); 238 this.msgSuccess("删除成功");
239 - }) 239 + }).catch(() => {});
240 }, 240 },
241 /** 导出按钮操作 */ 241 /** 导出按钮操作 */
242 handleExport() { 242 handleExport() {
@@ -256,7 +256,7 @@ export default { @@ -256,7 +256,7 @@ export default {
256 }).then(response => { 256 }).then(response => {
257 this.downloadExcel(response, '租户.xls'); 257 this.downloadExcel(response, '租户.xls');
258 this.exportLoading = false; 258 this.exportLoading = false;
259 - }) 259 + }).catch(() => {});
260 } 260 }
261 } 261 }
262 }; 262 };
yudao-ui-admin/src/views/system/user/index.vue
@@ -589,7 +589,7 @@ export default { @@ -589,7 +589,7 @@ export default {
589 }).then(() => { 589 }).then(() => {
590 this.getList(); 590 this.getList();
591 this.msgSuccess("删除成功"); 591 this.msgSuccess("删除成功");
592 - }) 592 + }).catch(() => {});
593 }, 593 },
594 /** 导出按钮操作 */ 594 /** 导出按钮操作 */
595 handleExport() { 595 handleExport() {
@@ -607,7 +607,7 @@ export default { @@ -607,7 +607,7 @@ export default {
607 }).then(response => { 607 }).then(response => {
608 this.downloadExcel(response, '用户数据.xls'); 608 this.downloadExcel(response, '用户数据.xls');
609 this.exportLoading = false; 609 this.exportLoading = false;
610 - }) 610 + }).catch(() => {});
611 }, 611 },
612 /** 导入按钮操作 */ 612 /** 导入按钮操作 */
613 handleImport() { 613 handleImport() {
yudao-ui-admin/src/views/tool/build/FormDrawer.vue
@@ -218,8 +218,7 @@ export default { @@ -218,8 +218,7 @@ export default {
218 '提示', 218 '提示',
219 { 219 {
220 type: 'warning' 220 type: 'warning'
221 - }  
222 - ) 221 + }).catch(() => {});
223 return 222 return
224 } 223 }
225 if (astBody[0].type === 'ExportDefaultDeclaration') { 224 if (astBody[0].type === 'ExportDefaultDeclaration') {
yudao-ui-admin/src/views/tool/build/index.vue
@@ -381,8 +381,7 @@ export default { @@ -381,8 +381,7 @@ export default {
381 () => { 381 () => {
382 this.drawingList = [] 382 this.drawingList = []
383 this.idGlobal = 100 383 this.idGlobal = 100
384 - }  
385 - ) 384 + }).catch(() => {});
386 }, 385 },
387 drawingItemCopy(item, list) { 386 drawingItemCopy(item, list) {
388 let clone = deepClone(item) 387 let clone = deepClone(item)
yudao-ui-admin/src/views/tool/codegen/index.vue
@@ -213,7 +213,7 @@ export default { @@ -213,7 +213,7 @@ export default {
213 return syncCodegenFromDB(row.id); 213 return syncCodegenFromDB(row.id);
214 }).then(() => { 214 }).then(() => {
215 this.msgSuccess("同步成功"); 215 this.msgSuccess("同步成功");
216 - }) 216 + }).catch(() => {});
217 }, 217 },
218 /** 打开导入表弹窗 */ 218 /** 打开导入表弹窗 */
219 openImportTable() { 219 openImportTable() {
@@ -335,7 +335,7 @@ export default { @@ -335,7 +335,7 @@ export default {
335 }).then(() => { 335 }).then(() => {
336 this.getList(); 336 this.getList();
337 this.msgSuccess("删除成功"); 337 this.msgSuccess("删除成功");
338 - }) 338 + }).catch(() => {});
339 }, 339 },
340 // 取消按钮 340 // 取消按钮
341 cancel() { 341 cancel() {
yudao-ui-admin/src/views/tool/testDemo/index.vue
@@ -243,7 +243,7 @@ export default { @@ -243,7 +243,7 @@ export default {
243 }).then(() => { 243 }).then(() => {
244 this.getList(); 244 this.getList();
245 this.msgSuccess("删除成功"); 245 this.msgSuccess("删除成功");
246 - }) 246 + }).catch(() => {});
247 }, 247 },
248 /** 导出按钮操作 */ 248 /** 导出按钮操作 */
249 handleExport() { 249 handleExport() {
@@ -263,7 +263,7 @@ export default { @@ -263,7 +263,7 @@ export default {
263 }).then(response => { 263 }).then(response => {
264 this.downloadExcel(response, '字典类型.xls'); 264 this.downloadExcel(response, '字典类型.xls');
265 this.exportLoading = false; 265 this.exportLoading = false;
266 - }) 266 + }).catch(() => {});
267 } 267 }
268 } 268 }
269 }; 269 };