优化 table 用例
This commit is contained in:
parent
cd24e1cde4
commit
b945f7a3df
@ -168,7 +168,7 @@ layui.use(['table', 'dropdown'], function(){
|
||||
}, templet: '#usernameTpl'},
|
||||
{field:'xxx', title:'测试', edit: 'text'},
|
||||
{field:'email', minWidth: 160, maxWidth: 320, title:'邮箱 <i class="layui-icon layui-icon-email" lay-event="email"></i>', fieldTitle: '邮箱', hide: 0, edit: 'text', style: 'background-color: #fafafa; color: red;', templet: function(d){
|
||||
return '<em>'+ layui.util.escape(d.email) +'</em> 份'
|
||||
return '<em>'+ layui.util.escape(d.email) +'</em>'
|
||||
}},
|
||||
{field:'sex', title:'性别', width:80, edit: 'text', sort: true, escape: false},
|
||||
{field:'city', title:'城市', width:120, templet: '#cityTpl', exportTemplet: function(d, obj){
|
||||
|
Loading…
Reference in New Issue
Block a user