chore: 发布 0.4.1

This commit is contained in:
就眠儀式 2022-03-25 18:16:23 +08:00
parent 5929545578
commit 4b8226c346
7 changed files with 8 additions and 6 deletions

View File

@ -210,7 +210,7 @@ export default {
| --------- | ----------------------- | --------------- | --------------- |
| openKeys | 默认打开的折叠面板子项key | `string`/`array`| -- |
| accordion | 是否开启手风琴效果 | `boolean` | `false` |
| collapse-transition | 折叠动画 | `true` `false` | `true` |
:::
::: title Collapse 事件

View File

@ -424,6 +424,8 @@ export default {
| theme | 菜单主题 | `dark` `light` |
| inverted | 特殊的激活样式 | `true` `false` |
| level | 菜单层级 | `true` `false` |
| collapse | 折叠状态 | `true` `false` |
| collapse-transition | 折叠动画 | `true` `false` |
:::

View File

@ -14,7 +14,7 @@
<ul>
<a name="0-4-0"> </a>
<li>
<h3>0.4.1 <span class="layui-badge-rim">2022-03-17</span></h3>
<h3>0.4.1 <span class="layui-badge-rim">2022-03-25</span></h3>
<ul>
<li>[新增] switch 组件 onswitch-icon 插槽。</li>
<li>[新增] switch 组件 unswitch-icon 插槽。</li>

View File

@ -149,7 +149,7 @@
</a>
</li>
<li class="layui-nav-item">
<a href="javascript:void(0)"> 0.4.0 </a>
<a href="javascript:void(0)"> 0.4.1 </a>
</li>
</ul>
</lay-header>

View File

@ -20,7 +20,7 @@
>
</div>
<div class="site-version">
<span>{{ t('home.version') }}v<cite class="site-showv">0.4.0</cite></span>
<span>{{ t('home.version') }}v<cite class="site-showv">0.4.1</cite></span>
<span
><router-link
class="layui-inline site-down"

View File

@ -1,6 +1,6 @@
{
"name": "@layui/layui-vue",
"version": "0.4.1-alpha.2",
"version": "0.4.1",
"author": "就眠儀式",
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",

View File

@ -112,7 +112,7 @@ onBeforeUnmount(() => window.removeEventListener("resize", setPosition));
<dl
ref="subMenuRef"
class="layui-nav-child layui-anim layui-anim-upbit"
:class="[{ 'layui-show': isOpen }, position ]"
:class="[{ 'layui-show': isOpen }, position]"
>
<slot></slot>
</dl>