🐛(layer): typescript 错误

更新文档
This commit is contained in:
就眠儀式
2022-06-18 15:57:10 +08:00
parent 04b52e0814
commit f030784410
7 changed files with 39 additions and 59 deletions

View File

@@ -108,7 +108,13 @@ const handleClick = function () {
:lay-skin="skin"
>
<span v-if="$slots?.default"><slot></slot></span>
<lay-icon :type="props.isIndeterminate && isChecked ? 'layui-icon-subtraction' : 'layui-icon-ok'"></lay-icon>
<lay-icon
:type="
props.isIndeterminate && isChecked
? 'layui-icon-subtraction'
: 'layui-icon-ok'
"
></lay-icon>
</div>
</span>
</template>