From d96d718ac4b1ce8ba34c530882d0aed0097b86fc 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, 20 Nov 2022 05:00:54 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=80(tag):=20update?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package/component/src/component/tag/index.less | 8 ++------
package/component/src/component/tag/index.vue | 10 ++--------
.../src/document/zh-CN/components/tag.md | 5 +++--
.../src/document/zh-CN/guide/changelog.md | 9 +++++++++
4 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/package/component/src/component/tag/index.less b/package/component/src/component/tag/index.less
index 07e2df30..34717fbf 100644
--- a/package/component/src/component/tag/index.less
+++ b/package/component/src/component/tag/index.less
@@ -73,12 +73,8 @@
}
}
- &-ellipsis &-text {
- display: inline-block;
- white-space: nowrap;
- word-wrap: normal;
- overflow: hidden;
- text-overflow: ellipsis
+ & &-text {
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap
}
& &-close-icon {
diff --git a/package/component/src/component/tag/index.vue b/package/component/src/component/tag/index.vue
index 2c4dfc24..07f8d36a 100644
--- a/package/component/src/component/tag/index.vue
+++ b/package/component/src/component/tag/index.vue
@@ -49,7 +49,6 @@ const classTag = computed(() => [
[`layui-tag-${props.type}`]: props.type,
"layui-tag-bordered": props.bordered,
"layui-tag-disabled": props.disabled,
- "layui-tag-ellipsis": props.maxWidth,
},
]);
@@ -105,13 +104,8 @@ function useTagCustomStyle(props: TagProps) {
-
-
-
-
-
+
+
- 标签
+ 标签
标签
@@ -164,10 +164,11 @@ export default {
- {{tag}}
+ {{tag}}
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 185974e1..4fa60314 100644
--- a/package/document-component/src/document/zh-CN/guide/changelog.md
+++ b/package/document-component/src/document/zh-CN/guide/changelog.md
@@ -11,6 +11,15 @@
+
+
+ -
+
1.7.9 2022-11-20
+
+ - [新增] upload 组件 auto 属性, 是否自动上传配置。
+
+
+