fix: switch slot
This commit is contained in:
parent
a51c2b086c
commit
0530d2ee90
@ -50,7 +50,10 @@ const showHandle = function () {
|
||||
|
||||
<template>
|
||||
<div class="layui-colla-item">
|
||||
<h2 :class="['layui-colla-title', { 'layui-disabled': disabled }]" @click="showHandle">
|
||||
<h2
|
||||
:class="['layui-colla-title', { 'layui-disabled': disabled }]"
|
||||
@click="showHandle"
|
||||
>
|
||||
<slot name="title" :props="props">{{ title }}</slot>
|
||||
<i class="layui-icon layui-colla-icon">{{ isShow ? "" : "" }}</i>
|
||||
</h2>
|
||||
|
@ -23,6 +23,7 @@
|
||||
top: 3px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
border-radius: 20px;
|
||||
background-color: @global-neutral-color-6;
|
||||
-webkit-transition: 0.1s linear;
|
||||
|
Loading…
Reference in New Issue
Block a user