layui的table中使用switch

1  {{#  if(false){ }}
2     <input type="checkbox" name="switch" lay-skin="switch" checked>
3     {{#  } else { }}
4     <input type="checkbox" name="switch" lay-skin="switch">
5     {{#  } }}
原文地址:https://www.cnblogs.com/yangguoe/p/10154506.html