作者 RuoYi

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

@@ -532,7 +532,7 @@ export default { @@ -532,7 +532,7 @@ export default {
532 }).then(() => { 532 }).then(() => {
533 this.getList(); 533 this.getList();
534 this.msgSuccess("删除成功"); 534 this.msgSuccess("删除成功");
535 - }) 535 + }).catch(() => {});
536 } 536 }
537 } 537 }
538 }; 538 };
@@ -590,7 +590,7 @@ export default { @@ -590,7 +590,7 @@ export default {
590 }).then(() => { 590 }).then(() => {
591 this.getList(); 591 this.getList();
592 this.msgSuccess("删除成功"); 592 this.msgSuccess("删除成功");
593 - }) 593 + }).catch(() => {});
594 }, 594 },
595 #if($table.sub) 595 #if($table.sub)
596 /** ${subTable.functionName}序号 */ 596 /** ${subTable.functionName}序号 */
@@ -639,7 +639,7 @@ export default { @@ -639,7 +639,7 @@ export default {
639 }).then(response => { 639 }).then(response => {
640 this.download(response.msg); 640 this.download(response.msg);
641 this.exportLoading = false; 641 this.exportLoading = false;
642 - }) 642 + }).catch(() => {});
643 } 643 }
644 } 644 }
645 }; 645 };
@@ -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 }
@@ -63,7 +63,7 @@ service.interceptors.response.use(res => { @@ -63,7 +63,7 @@ service.interceptors.response.use(res => {
63 store.dispatch('LogOut').then(() => { 63 store.dispatch('LogOut').then(() => {
64 location.href = '/index'; 64 location.href = '/index';
65 }) 65 })
66 - }) 66 + }).catch(() => {});
67 } else if (code === 500) { 67 } else if (code === 500) {
68 Message({ 68 Message({
69 message: msg, 69 message: msg,
@@ -410,7 +410,7 @@ export default { @@ -410,7 +410,7 @@ export default {
410 return runJob(row.jobId, row.jobGroup); 410 return runJob(row.jobId, row.jobGroup);
411 }).then(() => { 411 }).then(() => {
412 this.msgSuccess("执行成功"); 412 this.msgSuccess("执行成功");
413 - }) 413 + }).catch(() => {});
414 }, 414 },
415 /** 任务详细信息 */ 415 /** 任务详细信息 */
416 handleView(row) { 416 handleView(row) {
@@ -471,7 +471,7 @@ export default { @@ -471,7 +471,7 @@ export default {
471 }).then(() => { 471 }).then(() => {
472 this.getList(); 472 this.getList();
473 this.msgSuccess("删除成功"); 473 this.msgSuccess("删除成功");
474 - }) 474 + }).catch(() => {});
475 }, 475 },
476 /** 导出按钮操作 */ 476 /** 导出按钮操作 */
477 handleExport() { 477 handleExport() {
@@ -486,7 +486,7 @@ export default { @@ -486,7 +486,7 @@ export default {
486 }).then(response => { 486 }).then(response => {
487 this.download(response.msg); 487 this.download(response.msg);
488 this.exportLoading = false; 488 this.exportLoading = false;
489 - }) 489 + }).catch(() => {});
490 } 490 }
491 } 491 }
492 }; 492 };
@@ -269,7 +269,7 @@ export default { @@ -269,7 +269,7 @@ export default {
269 }).then(() => { 269 }).then(() => {
270 this.getList(); 270 this.getList();
271 this.msgSuccess("删除成功"); 271 this.msgSuccess("删除成功");
272 - }) 272 + }).catch(() => {});
273 }, 273 },
274 /** 清空按钮操作 */ 274 /** 清空按钮操作 */
275 handleClean() { 275 handleClean() {
@@ -282,7 +282,7 @@ export default { @@ -282,7 +282,7 @@ export default {
282 }).then(() => { 282 }).then(() => {
283 this.getList(); 283 this.getList();
284 this.msgSuccess("清空成功"); 284 this.msgSuccess("清空成功");
285 - }) 285 + }).catch(() => {});
286 }, 286 },
287 /** 导出按钮操作 */ 287 /** 导出按钮操作 */
288 handleExport() { 288 handleExport() {
@@ -297,7 +297,7 @@ export default { @@ -297,7 +297,7 @@ export default {
297 }).then(response => { 297 }).then(response => {
298 this.download(response.msg); 298 this.download(response.msg);
299 this.exportLoading = false; 299 this.exportLoading = false;
300 - }) 300 + }).catch(() => {});
301 } 301 }
302 } 302 }
303 }; 303 };
@@ -202,7 +202,7 @@ export default { @@ -202,7 +202,7 @@ export default {
202 }).then(() => { 202 }).then(() => {
203 this.getList(); 203 this.getList();
204 this.msgSuccess("删除成功"); 204 this.msgSuccess("删除成功");
205 - }) 205 + }).catch(() => {});
206 }, 206 },
207 /** 清空按钮操作 */ 207 /** 清空按钮操作 */
208 handleClean() { 208 handleClean() {
@@ -215,7 +215,7 @@ export default { @@ -215,7 +215,7 @@ export default {
215 }).then(() => { 215 }).then(() => {
216 this.getList(); 216 this.getList();
217 this.msgSuccess("清空成功"); 217 this.msgSuccess("清空成功");
218 - }) 218 + }).catch(() => {});
219 }, 219 },
220 /** 导出按钮操作 */ 220 /** 导出按钮操作 */
221 handleExport() { 221 handleExport() {
@@ -230,7 +230,7 @@ export default { @@ -230,7 +230,7 @@ export default {
230 }).then(response => { 230 }).then(response => {
231 this.download(response.msg); 231 this.download(response.msg);
232 this.exportLoading = false; 232 this.exportLoading = false;
233 - }) 233 + }).catch(() => {});
234 } 234 }
235 } 235 }
236 }; 236 };
@@ -120,7 +120,7 @@ export default { @@ -120,7 +120,7 @@ export default {
120 }).then(() => { 120 }).then(() => {
121 this.getList(); 121 this.getList();
122 this.msgSuccess("强退成功"); 122 this.msgSuccess("强退成功");
123 - }) 123 + }).catch(() => {});
124 } 124 }
125 } 125 }
126 }; 126 };
@@ -290,7 +290,7 @@ export default { @@ -290,7 +290,7 @@ export default {
290 }).then(() => { 290 }).then(() => {
291 this.getList(); 291 this.getList();
292 this.msgSuccess("删除成功"); 292 this.msgSuccess("删除成功");
293 - }) 293 + }).catch(() => {});
294 }, 294 },
295 /** 清空按钮操作 */ 295 /** 清空按钮操作 */
296 handleClean() { 296 handleClean() {
@@ -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 handleExport() { 309 handleExport() {
@@ -318,7 +318,7 @@ export default { @@ -318,7 +318,7 @@ export default {
318 }).then(response => { 318 }).then(response => {
319 this.download(response.msg); 319 this.download(response.msg);
320 this.exportLoading = false; 320 this.exportLoading = false;
321 - }) 321 + }).catch(() => {});
322 } 322 }
323 } 323 }
324 }; 324 };
@@ -338,7 +338,7 @@ export default { @@ -338,7 +338,7 @@ export default {
338 }).then(() => { 338 }).then(() => {
339 this.getList(); 339 this.getList();
340 this.msgSuccess("删除成功"); 340 this.msgSuccess("删除成功");
341 - }) 341 + }).catch(() => {});
342 }, 342 },
343 /** 导出按钮操作 */ 343 /** 导出按钮操作 */
344 handleExport() { 344 handleExport() {
@@ -353,7 +353,7 @@ export default { @@ -353,7 +353,7 @@ export default {
353 }).then(response => { 353 }).then(response => {
354 this.download(response.msg); 354 this.download(response.msg);
355 this.exportLoading = false; 355 this.exportLoading = false;
356 - }) 356 + }).catch(() => {});
357 }, 357 },
358 /** 刷新缓存按钮操作 */ 358 /** 刷新缓存按钮操作 */
359 handleRefreshCache() { 359 handleRefreshCache() {
@@ -310,7 +310,7 @@ export default { @@ -310,7 +310,7 @@ export default {
310 }).then(() => { 310 }).then(() => {
311 this.getList(); 311 this.getList();
312 this.msgSuccess("删除成功"); 312 this.msgSuccess("删除成功");
313 - }) 313 + }).catch(() => {});
314 } 314 }
315 } 315 }
316 }; 316 };
@@ -337,7 +337,7 @@ export default { @@ -337,7 +337,7 @@ export default {
337 }).then(() => { 337 }).then(() => {
338 this.getList(); 338 this.getList();
339 this.msgSuccess("删除成功"); 339 this.msgSuccess("删除成功");
340 - }) 340 + }).catch(() => {});
341 }, 341 },
342 /** 导出按钮操作 */ 342 /** 导出按钮操作 */
343 handleExport() { 343 handleExport() {
@@ -352,7 +352,7 @@ export default { @@ -352,7 +352,7 @@ export default {
352 }).then(response => { 352 }).then(response => {
353 this.download(response.msg); 353 this.download(response.msg);
354 this.exportLoading = false; 354 this.exportLoading = false;
355 - }) 355 + }).catch(() => {});
356 } 356 }
357 } 357 }
358 }; 358 };
@@ -342,7 +342,7 @@ export default { @@ -342,7 +342,7 @@ export default {
342 }).then(() => { 342 }).then(() => {
343 this.getList(); 343 this.getList();
344 this.msgSuccess("删除成功"); 344 this.msgSuccess("删除成功");
345 - }) 345 + }).catch(() => {});
346 }, 346 },
347 /** 导出按钮操作 */ 347 /** 导出按钮操作 */
348 handleExport() { 348 handleExport() {
@@ -357,7 +357,7 @@ export default { @@ -357,7 +357,7 @@ export default {
357 }).then(response => { 357 }).then(response => {
358 this.download(response.msg); 358 this.download(response.msg);
359 this.exportLoading = false; 359 this.exportLoading = false;
360 - }) 360 + }).catch(() => {});
361 }, 361 },
362 /** 刷新缓存按钮操作 */ 362 /** 刷新缓存按钮操作 */
363 handleRefreshCache() { 363 handleRefreshCache() {
@@ -163,7 +163,7 @@ @@ -163,7 +163,7 @@
163 </el-col> 163 </el-col>
164 <el-col :span="12"> 164 <el-col :span="12">
165 <el-form-item v-if="form.menuType != 'M'" label="权限标识"> 165 <el-form-item v-if="form.menuType != 'M'" label="权限标识">
166 - <el-input v-model="form.perms" placeholder="请权限标识" maxlength="100" /> 166 + <el-input v-model="form.perms" placeholder="请输入权限标识" maxlength="100" />
167 </el-form-item> 167 </el-form-item>
168 </el-col> 168 </el-col>
169 <el-col :span="12"> 169 <el-col :span="12">
@@ -393,7 +393,7 @@ export default { @@ -393,7 +393,7 @@ export default {
393 }).then(() => { 393 }).then(() => {
394 this.getList(); 394 this.getList();
395 this.msgSuccess("删除成功"); 395 this.msgSuccess("删除成功");
396 - }) 396 + }).catch(() => {});
397 } 397 }
398 } 398 }
399 }; 399 };
@@ -336,7 +336,7 @@ export default { @@ -336,7 +336,7 @@ export default {
336 }).then(() => { 336 }).then(() => {
337 this.getList(); 337 this.getList();
338 this.msgSuccess("删除成功"); 338 this.msgSuccess("删除成功");
339 - }) 339 + }).catch(() => {});
340 } 340 }
341 } 341 }
342 }; 342 };
@@ -309,7 +309,7 @@ export default { @@ -309,7 +309,7 @@ export default {
309 }).then(() => { 309 }).then(() => {
310 this.getList(); 310 this.getList();
311 this.msgSuccess("删除成功"); 311 this.msgSuccess("删除成功");
312 - }) 312 + }).catch(() => {});
313 }, 313 },
314 /** 导出按钮操作 */ 314 /** 导出按钮操作 */
315 handleExport() { 315 handleExport() {
@@ -324,7 +324,7 @@ export default { @@ -324,7 +324,7 @@ export default {
324 }).then(response => { 324 }).then(response => {
325 this.download(response.msg); 325 this.download(response.msg);
326 this.exportLoading = false; 326 this.exportLoading = false;
327 - }) 327 + }).catch(() => {});
328 } 328 }
329 } 329 }
330 }; 330 };
@@ -593,7 +593,7 @@ export default { @@ -593,7 +593,7 @@ export default {
593 }).then(() => { 593 }).then(() => {
594 this.getList(); 594 this.getList();
595 this.msgSuccess("删除成功"); 595 this.msgSuccess("删除成功");
596 - }) 596 + }).catch(() => {});
597 }, 597 },
598 /** 导出按钮操作 */ 598 /** 导出按钮操作 */
599 handleExport() { 599 handleExport() {
@@ -608,7 +608,7 @@ export default { @@ -608,7 +608,7 @@ export default {
608 }).then(response => { 608 }).then(response => {
609 this.download(response.msg); 609 this.download(response.msg);
610 this.exportLoading = false; 610 this.exportLoading = false;
611 - }) 611 + }).catch(() => {});
612 } 612 }
613 } 613 }
614 }; 614 };
@@ -631,7 +631,7 @@ export default { @@ -631,7 +631,7 @@ export default {
631 }).then(() => { 631 }).then(() => {
632 this.getList(); 632 this.getList();
633 this.msgSuccess("删除成功"); 633 this.msgSuccess("删除成功");
634 - }) 634 + }).catch(() => {});
635 }, 635 },
636 /** 导出按钮操作 */ 636 /** 导出按钮操作 */
637 handleExport() { 637 handleExport() {
@@ -646,7 +646,7 @@ export default { @@ -646,7 +646,7 @@ export default {
646 }).then(response => { 646 }).then(response => {
647 this.download(response.msg); 647 this.download(response.msg);
648 this.exportLoading = false; 648 this.exportLoading = false;
649 - }) 649 + }).catch(() => {});
650 }, 650 },
651 /** 导入按钮操作 */ 651 /** 导入按钮操作 */
652 handleImport() { 652 handleImport() {
@@ -283,7 +283,7 @@ export default { @@ -283,7 +283,7 @@ export default {
283 return synchDb(tableName); 283 return synchDb(tableName);
284 }).then(() => { 284 }).then(() => {
285 this.msgSuccess("同步成功"); 285 this.msgSuccess("同步成功");
286 - }) 286 + }).catch(() => {});
287 }, 287 },
288 /** 打开导入表弹窗 */ 288 /** 打开导入表弹窗 */
289 openImportTable() { 289 openImportTable() {
@@ -333,7 +333,7 @@ export default { @@ -333,7 +333,7 @@ export default {
333 }).then(() => { 333 }).then(() => {
334 this.getList(); 334 this.getList();
335 this.msgSuccess("删除成功"); 335 this.msgSuccess("删除成功");
336 - }) 336 + }).catch(() => {});
337 } 337 }
338 } 338 }
339 }; 339 };