fastadmin自定义列表中状态的颜色

{field: 'status', title: __('Status'), searchList: {"normal":__('Status normal'),"closed":__('Status closed'),"testing":__('Status testing'),"done":__('Status done')},custom: {normal:'info', closed:'danger',testing:'warning', done:'success'}, formatter: Table.api.formatter.status},
custom: {normal:'info', closed:'danger',testing:'warning', done:'success'}

  

原文地址:https://www.cnblogs.com/sisl/p/15138231.html