From d17e98f5bdfc03728c64223f7d57fcb24de68c3a Mon Sep 17 00:00:00 2001 From: hy212 <1101824575@qq.com> Date: Fri, 7 Jun 2024 16:53:36 +0800 Subject: [PATCH 1/5] =?UTF-8?q?style(tree-select=20&=20tag-input):=20use?= =?UTF-8?q?=20text-overflow=20ellipsis=20when=20tag=20text=20exceeds=20wid?= =?UTF-8?q?th=EF=BC=88#3183=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/_common | 2 +- src/tree-select/tree-select.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/_common b/src/_common index 913eb70a6..562a221b4 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit 913eb70a6378989d376231b1ab64a74090c54735 +Subproject commit 562a221b4e9f374e4a5e7bc22fd9ad5609cef417 diff --git a/src/tree-select/tree-select.tsx b/src/tree-select/tree-select.tsx index 7c2151ed6..6f67a2608 100644 --- a/src/tree-select/tree-select.tsx +++ b/src/tree-select/tree-select.tsx @@ -161,7 +161,6 @@ export default defineComponent({ size: this.size, }, tagProps: { - maxWidth: 300, ...(this.tagProps as TdTreeSelectProps['tagProps']), }, label: this.renderLabel, From f0379efa40eff4ea823d8ac4a779ceb84e0993fb Mon Sep 17 00:00:00 2001 From: hy212 <1101824575@qq.com> Date: Tue, 11 Jun 2024 14:24:05 +0800 Subject: [PATCH 2/5] =?UTF-8?q?style(tree-select=20&=20tag-input):=20remov?= =?UTF-8?q?e=20duplicate=20styles=EF=BC=88#3183=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/_common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_common b/src/_common index 562a221b4..f1be6cea9 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit 562a221b4e9f374e4a5e7bc22fd9ad5609cef417 +Subproject commit f1be6cea9bc52dbd3f7003acbb656fa871cc02bd From 5ebb3186e21d56e01bc94521a4eff67f1c39eeb7 Mon Sep 17 00:00:00 2001 From: hy212 <1101824575@qq.com> Date: Fri, 14 Jun 2024 16:42:57 +0800 Subject: [PATCH 3/5] =?UTF-8?q?style(tree-select=20&=20tag-input):=20use?= =?UTF-8?q?=20text-overflow=20ellipsis=20when=20tag=20text=20exceeds=20wid?= =?UTF-8?q?th=EF=BC=88#3183=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/_common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_common b/src/_common index f1be6cea9..82321d919 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit f1be6cea9bc52dbd3f7003acbb656fa871cc02bd +Subproject commit 82321d919a93061efecb03d82fcd25834eb08ccf From 4370bb60ff9dba7f6c9441e071bd4eb31118babb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Tue, 30 Jul 2024 10:39:02 +0800 Subject: [PATCH 4/5] chore: update _common --- src/_common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_common b/src/_common index 82321d919..1878b0313 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit 82321d919a93061efecb03d82fcd25834eb08ccf +Subproject commit 1878b0313fa7dcdf5486f5adb7d2581c1c0d1c27 From 8a774d50570568fdbd89ec81cb09420bfda04f92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 30 Jul 2024 02:53:49 +0000 Subject: [PATCH 5/5] chore: update snapshot --- .../__snapshots__/index.test.jsx.snap | 21 +++------- test/snap/__snapshots__/csr.test.js.snap | 42 ++++++------------- test/snap/__snapshots__/ssr.test.js.snap | 6 +-- 3 files changed, 21 insertions(+), 48 deletions(-) diff --git a/src/tree-select/__tests__/__snapshots__/index.test.jsx.snap b/src/tree-select/__tests__/__snapshots__/index.test.jsx.snap index 499c5bb68..96c1649a1 100644 --- a/src/tree-select/__tests__/__snapshots__/index.test.jsx.snap +++ b/src/tree-select/__tests__/__snapshots__/index.test.jsx.snap @@ -59,12 +59,9 @@ exports[`TreeSelect > :props > :defaultValue 1`] = ` class="t-input__prefix" >
- + 深圳市 :props > :defaultValue 1`] = `
- + 广州市 :props > :multiple 1`] = ` class="t-input__prefix" >
- + csr test ./src/tree-select/_example/collapsed.vue 1 class="t-input__prefix" >
- + 广州市 csr test ./src/tree-select/_example/multiple.vue 1` class="t-input__prefix" >
- + tdesign-vue csr test ./src/tree-select/_example/multiple.vue 1`
- + tdesign-react csr test ./src/tree-select/_example/multiple.vue 1`
- + tdesign-miniprogram csr test ./src/tree-select/_example/valuetype.vue 1 class="t-input__prefix" >
- + 广州市 csr test ./src/tree-select/_example/valuetype.vue 1
- + 深圳市 renders ./src/tree/_example/vscroll-lazy.vue correc exports[`ssr snapshot test > renders ./src/tree-select/_example/base.vue correctly 1`] = `"
单选:
"`; -exports[`ssr snapshot test > renders ./src/tree-select/_example/collapsed.vue correctly 1`] = `"
广州市
(1)
"`; +exports[`ssr snapshot test > renders ./src/tree-select/_example/collapsed.vue correctly 1`] = `"
广州市
(1)
"`; exports[`ssr snapshot test > renders ./src/tree-select/_example/dvalue.vue correctly 1`] = `"
"`; @@ -1281,7 +1281,7 @@ exports[`ssr snapshot test > renders ./src/tree-select/_example/filterable.vue c exports[`ssr snapshot test > renders ./src/tree-select/_example/lazy.vue correctly 1`] = `"
"`; -exports[`ssr snapshot test > renders ./src/tree-select/_example/multiple.vue correctly 1`] = `"
tdesign-vue
tdesign-react
tdesign-miniprogram
"`; +exports[`ssr snapshot test > renders ./src/tree-select/_example/multiple.vue correctly 1`] = `"
tdesign-vue
tdesign-react
tdesign-miniprogram
"`; exports[`ssr snapshot test > renders ./src/tree-select/_example/prefix.vue correctly 1`] = `"
"`; @@ -1289,7 +1289,7 @@ exports[`ssr snapshot test > renders ./src/tree-select/_example/props.vue correc exports[`ssr snapshot test > renders ./src/tree-select/_example/valuedisplay.vue correctly 1`] = `"
深圳市(shenzhen)
深圳市(shenzhen)
广州市(guangzhou)
"`; -exports[`ssr snapshot test > renders ./src/tree-select/_example/valuetype.vue correctly 1`] = `"
广州市
深圳市
"`; +exports[`ssr snapshot test > renders ./src/tree-select/_example/valuetype.vue correctly 1`] = `"
广州市
深圳市
"`; exports[`ssr snapshot test > renders ./src/upload/_example/base.vue correctly 1`] = `"

要求文件大小在 1M 以内
文件上传失败示例
"`;