(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", "name": "@layui/layui-vue",
"version": "1.4.0-alpha.3", "version": "1.4.0",
"author": "就眠儀式", "author": "就眠儀式",
"license": "MIT", "license": "MIT",
"description": "a component library for Vue 3 base on layui-vue", "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 LayTab from "./component/tab/index";
import LayTabItem from "./component/tabItem/index"; import LayTabItem from "./component/tabItem/index";
import LayTree from "./component/tree/index"; import LayTree from "./component/tree/index";
import LayTreeSelect from "./component/treeSelect/index";
import LayTable from "./component/table/index"; import LayTable from "./component/table/index";
import LayPage from "./component/page/index"; import LayPage from "./component/page/index";
import LayTransfer from "./component/transfer/index"; import LayTransfer from "./component/transfer/index";
@ -89,8 +88,6 @@ import LayNoticeBar from "./component/noticeBar/index";
import LayPageHeader from "./component/pageHeader/index"; import LayPageHeader from "./component/pageHeader/index";
import LayCascader from "./component/cascader/index"; import LayCascader from "./component/cascader/index";
import LayAffix from "./component/affix/index"; import LayAffix from "./component/affix/index";
import LayTag from "./component/tag/index";
import LayTagInput from "./component/tagInput/index";
import LayConfigProvider from "./provider"; import LayConfigProvider from "./provider";
import { InstallOptions } from "./types"; import { InstallOptions } from "./types";
@ -149,7 +146,6 @@ const components: Record<string, Plugin> = {
LayTabItem, LayTabItem,
LayIconPicker, LayIconPicker,
LayTree, LayTree,
LayTreeSelect,
LayTable, LayTable,
LayPage, LayPage,
LayTransfer, LayTransfer,
@ -177,9 +173,7 @@ const components: Record<string, Plugin> = {
LayNoticeBar, LayNoticeBar,
LayPageHeader, LayPageHeader,
LayCascader, LayCascader,
LayAffix, LayAffix
LayTag,
LayTagInput,
}; };
const install = (app: App, options?: InstallOptions): void => { const install = (app: App, options?: InstallOptions): void => {
@ -245,7 +239,6 @@ export {
LayTabItem, LayTabItem,
LayIconPicker, LayIconPicker,
LayTree, LayTree,
LayTreeSelect,
LayTable, LayTable,
LayPage, LayPage,
LayTransfer, LayTransfer,
@ -274,8 +267,6 @@ export {
LayPageHeader, LayPageHeader,
LayCascader, LayCascader,
LayAffix, LayAffix,
LayTag,
LayTagInput,
install, install,
}; };

View File

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

View File

@ -10,11 +10,11 @@
::: demo ::: demo
<template> <template>
<lay-timeline> <lay-timeline>
<lay-timeline-item title="1.3.x"> <lay-timeline-item title="1.4.x">
<ul> <ul>
<a name="1-3-14"></a> <a name="1-4-0"></a>
<li> <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> <ul>
<li>[新增] button 组件 dropdown 下拉 demo。</li> <li>[新增] button 组件 dropdown 下拉 demo。</li>
<li>[新增] button 组件 loading-icon 属性, 允许自定义加载图标。</li> <li>[新增] button 组件 loading-icon 属性, 允许自定义加载图标。</li>

View File

@ -426,27 +426,7 @@ const menus = [
path: "/zh-CN/components/photo", 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; export default menus;