layui的单选框

 1 <script type="text/html" id="radioTpl">
 2     <input type="radio" name="userRadio" value="{{d.id}}" lay-filter="radiodemo">
 3 </script>
 4 
 5 
 6 
 7   cols:[[
 8             {
 9                 templet:"#radioTpl",
10                 unresize:true,
11                 width:60
12             }, 

猜你喜欢

转载自www.cnblogs.com/yangguoe/p/9068703.html