fastadmin列表页ID改为序号

在js文件中修改字段

{field: 'id', title: __('序号'), formatter: function(value, row, index){
        return ++index;
}},

  

posted @ 2020-07-03 15:15  王的孤傲  阅读(1008)  评论(0编辑  收藏  举报