fastadmin单独控制编辑、删除按钮的展示和隐藏
{ field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: function (value, row, index) { var that = $.extend({}, this); $(table).data("operate-del", null); // 列表页面隐藏 .编辑operate-edit - 删除按钮operate-del that.table = table; return Table.api.formatter.operate.call(that, value, row, index); } }
╰︶﹉⋛⋋⊱⋋๑๑⋌⊰⋌⋚﹉︶╯