🐛(component): 清理调试代码

This commit is contained in:
就眠儀式 2022-11-05 22:01:23 +08:00
parent 16c0047620
commit ccdd791027

View File

@ -55,8 +55,14 @@ const showHandle = function () {
:class="['layui-colla-title', { 'layui-disabled': disabled }]"
@click="showHandle"
>
<slot name="title" :props="props">{{ title }}</slot> {{ collapseTransition }}
<i class="layui-icon layui-colla-icon layui-icon-right" :style="{ 'transform' : isShow ? 'rotate(90deg)':'none', 'transition': collapseTransition ? 'all 0.2s ease 0s':'' }"></i>
<slot name="title" :props="props">{{ title }}</slot>
<i
class="layui-icon layui-colla-icon layui-icon-right"
:style="{
transform: isShow ? 'rotate(90deg)' : 'none',
transition: collapseTransition ? 'all 0.2s ease 0s' : '',
}"
></i>
</h2>
<lay-transition :enable="collapseTransition">
<div v-if="isShow">