🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
<p><span style="font-weight:700;"><span style="font-size:16px;">Checkboxes属性</span></span></p> <p><span style="line-height:1.78571;">返回或设置一个值,确定是否显示复选框。</span></p> <p class="label" style="font-size:12px;">语法</p> <p><span class="emp"><i>object</i></span>.<span style="font-weight:700;">Checkboxes&nbsp;</span>[<span class="emp"><i>= boolean</i></span>]</p> <p><span style="font-weight:700;">Checkboxes</span>属性语法有如下几部分:</p> <table class="MsoNormalTable" border="1" cellpadding="0" style="width:650px;"><tbody><tr><td width="25%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">部分</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="75%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">描述</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="25%" valign="top"><p class="MsoNormal"><span class="emp"><i><span style="font-size:9pt;font-family:宋体;">object</span></i></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="75%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">一个对象表达式,其值是“应用于”列表中的一个对象。</span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="25%" valign="top"><p class="MsoNormal"><span class="emp"><i><span style="font-size:9pt;font-family:宋体;">boolean</span></i></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="75%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">一个布尔表达式,指定复选框是否显示,如设置值所描述的。</span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal">&nbsp;</p> <p class="label" style="font-size:12px;">设置值</p> <p><span class="emp"><i>boolean</i></span><span class="emp"><i>设置如下</i></span>:</p> <table class="MsoNormalTable" border="1" cellpadding="0" width="38%" style="width:322px;"><tbody><tr><td width="24%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">常数</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="72%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">描述</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="24%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">False</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="72%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">(</span><span style="font-size:9pt;font-family:宋体;">缺省)&nbsp;复选框不显示。</span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="24%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">True</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="72%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">复选框显示。</span><span style="font-size:9pt;font-family:宋体;"></span></p> <div><span style="font-size:9pt;font-family:宋体;"><br /> </span></div> </td> </tr> </tbody> </table>