From ac4f60efa625e4190e573774db360f902d3591ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sun, 14 Aug 2022 00:12:01 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/package.json | 2 +- package/component/src/index.ts | 11 +--------- .../src/document/zh-CN/components/table.md | 2 +- .../src/document/zh-CN/guide/changelog.md | 6 ++--- .../src/view/utils/menus.ts | 22 +------------------ 5 files changed, 7 insertions(+), 36 deletions(-) diff --git a/package/component/package.json b/package/component/package.json index 4102e311..2db4c6b4 100644 --- a/package/component/package.json +++ b/package/component/package.json @@ -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", diff --git a/package/component/src/index.ts b/package/component/src/index.ts index 879eb0e6..2b72bf25 100644 --- a/package/component/src/index.ts +++ b/package/component/src/index.ts @@ -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 = { LayTabItem, LayIconPicker, LayTree, - LayTreeSelect, LayTable, LayPage, LayTransfer, @@ -177,9 +173,7 @@ const components: Record = { 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, }; diff --git a/package/document-component/src/document/zh-CN/components/table.md b/package/document-component/src/document/zh-CN/components/table.md index 75353d17..37fd4629 100644 --- a/package/document-component/src/document/zh-CN/components/table.md +++ b/package/document-component/src/document/zh-CN/components/table.md @@ -1476,7 +1476,7 @@ export default { ::: table -| 插槽 | 描述 | 类型 | 默认值 | 可选值 | 可选值 | +| 插槽 | 描述 | 类型 | 默认值 | 可选值 | 版本 | | --------------- | ------------------------------ | --------- | ------- | --------------------------- | --------------------------- | | title | 列标题 | -- | -- | -- | -- | | key | 数据字段 | -- | -- | -- | -- | diff --git a/package/document-component/src/document/zh-CN/guide/changelog.md b/package/document-component/src/document/zh-CN/guide/changelog.md index cb26291c..76e068d0 100644 --- a/package/document-component/src/document/zh-CN/guide/changelog.md +++ b/package/document-component/src/document/zh-CN/guide/changelog.md @@ -10,11 +10,11 @@ ::: demo