(component): update

This commit is contained in:
就眠儀式 2022-08-14 00:12:01 +08:00
parent 1e5812e6e7
commit ac4f60efa6
5 changed files with 7 additions and 36 deletions

View File

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

View File

@ -61,7 +61,6 @@ import LayDropdownSubMenu from "./component/dropdownSubMenu/index";
import LayTab from "./component/tab/index";
import LayTabItem from "./component/tabItem/index";
import LayTree from "./component/tree/index";
import LayTreeSelect from "./component/treeSelect/index";
import LayTable from "./component/table/index";
import LayPage from "./component/page/index";
import LayTransfer from "./component/transfer/index";
@ -89,8 +88,6 @@ import LayNoticeBar from "./component/noticeBar/index";
import LayPageHeader from "./component/pageHeader/index";
import LayCascader from "./component/cascader/index";
import LayAffix from "./component/affix/index";
import LayTag from "./component/tag/index";
import LayTagInput from "./component/tagInput/index";
import LayConfigProvider from "./provider";
import { InstallOptions } from "./types";
@ -149,7 +146,6 @@ const components: Record<string, Plugin> = {
LayTabItem,
LayIconPicker,
LayTree,
LayTreeSelect,
LayTable,
LayPage,
LayTransfer,
@ -177,9 +173,7 @@ const components: Record<string, Plugin> = {
LayNoticeBar,
LayPageHeader,
LayCascader,
LayAffix,
LayTag,
LayTagInput,
LayAffix
};
const install = (app: App, options?: InstallOptions): void => {
@ -245,7 +239,6 @@ export {
LayTabItem,
LayIconPicker,
LayTree,
LayTreeSelect,
LayTable,
LayPage,
LayTransfer,
@ -274,8 +267,6 @@ export {
LayPageHeader,
LayCascader,
LayAffix,
LayTag,
LayTagInput,
install,
};

View File

@ -1476,7 +1476,7 @@ export default {
::: table
| 插槽 | 描述 | 类型 | 默认值 | 可选值 | 可选值 |
| 插槽 | 描述 | 类型 | 默认值 | 可选值 | 版本 |
| --------------- | ------------------------------ | --------- | ------- | --------------------------- | --------------------------- |
| title | 列标题 | -- | -- | -- | -- |
| key | 数据字段 | -- | -- | -- | -- |

View File

@ -10,11 +10,11 @@
::: demo
<template>
<lay-timeline>
<lay-timeline-item title="1.3.x">
<lay-timeline-item title="1.4.x">
<ul>
<a name="1-3-14"></a>
<a name="1-4-0"></a>
<li>
<h3>1.4.0 <span class="layui-badge-rim">2022-08-12</span></h3>
<h3>1.4.0 <span class="layui-badge-rim">2022-08-13</span></h3>
<ul>
<li>[新增] button 组件 dropdown 下拉 demo。</li>
<li>[新增] button 组件 loading-icon 属性, 允许自定义加载图标。</li>

View File

@ -426,27 +426,7 @@ const menus = [
path: "/zh-CN/components/photo",
},
],
},
{
id: 1,
title: "新特性",
children: [
{
id: 101,
title: "标签",
flag: "new",
subTitle: "modal",
path: "/zh-CN/components/tag",
},
{
id: 102,
title: "标签输入框",
flag: "new",
subTitle: "load",
path: "/zh-CN/components/tagInput",
},
],
},
}
];
export default menus;