fastadmin常用快捷方式

Posted 请叫我郝先生

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了fastadmin常用快捷方式相关的知识,希望对你有一定的参考价值。

1.js代码 设置快捷方式 禁止显示视图、搜索、导出功能

commonSearch: false,
visible: false,
showToggle: false,
showColumns: false,
search:false,
showExport: false,

效果如图所示

2.index.html代码 设置快捷方式 禁止显示视图、搜索、导出功能

data-show-export="false" 
data-show-toggle="false" 
data-show-columns="false" 
data-search="false" 
data-common-Search="false"

效果如图所示

3.js代码  设置分页比例及禁止分页

pageSize: 10,
pageList: [10, 25, 50, 'All'],
pagination:false

按钮权限控制

<table id="table" class="table table-striped table-bordered table-hover" 
       data-operate-edit="{:$auth->check('page/edit')}" 
       data-operate-del="{:$auth->check('page/del')}" 
       width="100%">
</table>

以上是关于fastadmin常用快捷方式的主要内容,如果未能解决你的问题,请参考以下文章

fastadmin常用快捷方式

fastadmin省市区快捷方式

fastadmin省市区快捷方式

fastadmin省市区快捷方式

fastadmin省市区快捷方式

C#常用代码片段备忘