mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	修复定时任务执行一次按钮后不提示消息问题
This commit is contained in:
		@@ -397,7 +397,7 @@ export default {
 | 
			
		||||
          type: "warning"
 | 
			
		||||
        }).then(function() {
 | 
			
		||||
          return runJob(row.jobId, row.jobGroup);
 | 
			
		||||
        }).then(function() {
 | 
			
		||||
        }).then(() => {
 | 
			
		||||
          this.msgSuccess("执行成功");
 | 
			
		||||
        }).catch(function() {});
 | 
			
		||||
    },
 | 
			
		||||
 
 | 
			
		||||
@@ -76,6 +76,9 @@ public class SysJobLogController extends BaseController
 | 
			
		||||
        return toAjax(jobLogService.deleteJobLogByIds(jobLogIds));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 清空定时任务调度日志
 | 
			
		||||
     */
 | 
			
		||||
    @PreAuthorize("@ss.hasPermi('monitor:job:remove')")
 | 
			
		||||
    @Log(title = "调度日志", businessType = BusinessType.CLEAN)
 | 
			
		||||
    @DeleteMapping("/clean")
 | 
			
		||||
 
 | 
			
		||||
@@ -124,6 +124,9 @@ public class GenController extends BaseController
 | 
			
		||||
        return AjaxResult.success();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 删除代码生成
 | 
			
		||||
     */
 | 
			
		||||
    @PreAuthorize("@ss.hasPermi('tool:gen:remove')")
 | 
			
		||||
    @Log(title = "代码生成", businessType = BusinessType.DELETE)
 | 
			
		||||
    @DeleteMapping("/{tableIds}")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user