layuiテーブルの属性の表示変換方法


以下の通りです

layui.render({
  url:'/xxxxx'
  ,cols:[[ 
    {field:'status',title:'  '}
  ]]

,done:function(res, curr, count){  //res        

  $("[data-field = '   (status)']").children().each(function(){

    if($(this).text() == '1'){

      $(this).text("  ");

    }else if($(this).text() == '1'){

       $(this).text("  ");
    }
  })
})
以上のlayui表のプロパティの表示転換方法は、小編集が皆さんに提供した内容の全てを共有しています。参考にしていただければと思います。よろしくお願いします。