Blogger Information
Blog 175
fans 1
comment 0
visits 384350
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Layui table判断字段是否存在,则隐藏或显示该列
dxp2tq的博客
Original
3712 people have browsed it
  1. ,done: function(res, curr, count){//回调
  2. if(res.msg.show_belong_mechanism == false){
  3. $("#demo").next().find(".layui-table-box").find("[data-field='belong_mechanism']") .css("display","none");
  4. }
  5. if(res.msg.show_belong_school == false){
  6. $("#demo").next().find(".layui-table-box").find("[data-field='belong_school']") .css("display","none");
  7. }
  8. }
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post