xxl-job bug: DataTables warning: table id=job_list - Ajax error. For more information about this error, please see http://datatables.net/tn/7

xxl-job提示错误

 

 F12查看参数jobGroup值被千位分隔

 

原因:

接口接收的是int类型,所以报错。

freemarker在数字回显时,如果数字超过999,会自动用 , 分割开,所以报异常。解决参考:

https://blog.csdn.net/moshowgame/article/details/104890266

 

application.yml添加下面配置解决

spring: 
    freemarker: 
        settings: 
            number_format: 0.##

 

 

添加配置解决。

 

posted on 2022-05-18 19:38  彡木虫  阅读(834)  评论(0)    收藏  举报

导航