在public->asset->js->backend 后台js目录下
找到对应操作文件,修改表格js操作如下,增加buttons可扩展操作按钮
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate,
buttons:[
{
name: "storeuser",
text: '店铺管理员',
icon: 'fa',
classname: "btn btn-info btn-xs btn-detail btn-dialog",
url: "store/store_user/index/",
visible: function (e) {
return true;
},
extend: 'data-area=["80%","100%"]'
}
]
}
发布时间 : 2024-11-12,阅读量:48
, 分类:
PHP