From 04f6ba33c70d4b36dfffb90d53f378f51ed66be1 Mon Sep 17 00:00:00 2001
From: pengpeng <30883395+webvs2@users.noreply.github.com>
Date: Wed, 27 Aug 2025 15:07:36 +0800
Subject: [PATCH 1/6] fix(vcSelect):Maintain keyboard events when using a
custom element. (#8321)
---
components/vc-select/BaseSelect.tsx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/components/vc-select/BaseSelect.tsx b/components/vc-select/BaseSelect.tsx
index 72f50d840..8c1668729 100644
--- a/components/vc-select/BaseSelect.tsx
+++ b/components/vc-select/BaseSelect.tsx
@@ -840,6 +840,7 @@ export default defineComponent({
customizeRawInputElement,
{
ref: selectorDomRef,
+ tabindex: 0,
},
false,
true,
@@ -877,7 +878,11 @@ export default defineComponent({
// Render raw
if (customizeRawInputElement) {
- renderNode = selectorNode;
+ renderNode = (
+
+ {selectorNode}
+
+ );
} else {
renderNode = (
Date: Wed, 27 Aug 2025 15:09:00 +0800
Subject: [PATCH 2/6] docs: typo in button (#8024)
---
components/button/demo/icon.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/button/demo/icon.vue b/components/button/demo/icon.vue
index b0a702d59..9287bcef0 100644
--- a/components/button/demo/icon.vue
+++ b/components/button/demo/icon.vue
@@ -21,7 +21,7 @@ If you want specific control over the positioning and placement of the `Icon`, t
-
+
@@ -32,7 +32,7 @@ If you want specific control over the positioning and placement of the `Icon`, t
Search
-
+
From 74b30189457976166034b05388d9ab9df0e495fa Mon Sep 17 00:00:00 2001
From: MonsterXue <54263194+MonsterXue@users.noreply.github.com>
Date: Wed, 27 Aug 2025 15:12:36 +0800
Subject: [PATCH 3/6] =?UTF-8?q?fix(slider):=20fix=20slider=20last=20dot=20?=
=?UTF-8?q?can=E2=80=99t=20click=20(#8246)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/slider/style/index.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/slider/style/index.tsx b/components/slider/style/index.tsx
index c88742226..f0f1d544d 100644
--- a/components/slider/style/index.tsx
+++ b/components/slider/style/index.tsx
@@ -182,6 +182,7 @@ const genBaseStyle: GenerateStyle = token => {
borderRadius: '50%',
cursor: 'pointer',
transition: `border-color ${token.motionDurationSlow}`,
+ pointerEvents: 'auto',
'&-active': {
borderColor: token.colorPrimaryBorder,
From 7e5008080dc6f4fa18fa9433808f0f3c74fb0a93 Mon Sep 17 00:00:00 2001
From: Chris Yang
Date: Wed, 27 Aug 2025 15:24:42 +0800
Subject: [PATCH 4/6] fix: Select tagRender click cannot open list #8132
(#8236)
---
components/vc-select/Selector/MultipleSelector.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/vc-select/Selector/MultipleSelector.tsx b/components/vc-select/Selector/MultipleSelector.tsx
index bcd76d7d1..678781f5d 100644
--- a/components/vc-select/Selector/MultipleSelector.tsx
+++ b/components/vc-select/Selector/MultipleSelector.tsx
@@ -151,7 +151,7 @@ const SelectSelector = defineComponent({
) {
const onMouseDown = (e: MouseEvent) => {
onPreventMouseDown(e);
- props.onToggleOpen(!open);
+ props.onToggleOpen(!props.open);
};
let originData = option;
// For TreeSelect
From 57ea8a65d403bf8708687cebef08d1e5da5e8c89 Mon Sep 17 00:00:00 2001
From: Junyang
Date: Wed, 27 Aug 2025 15:27:56 +0800
Subject: [PATCH 5/6] fix: fixed the Select component not taking keys according
to the corresponding value when passing fieldNames. (#8247)
Co-authored-by: fanjunyang
---
components/vc-select/utils/valueUtil.ts | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/components/vc-select/utils/valueUtil.ts b/components/vc-select/utils/valueUtil.ts
index 9e5207de6..ddf571fc4 100644
--- a/components/vc-select/utils/valueUtil.ts
+++ b/components/vc-select/utils/valueUtil.ts
@@ -2,11 +2,13 @@ import type { BaseOptionType, DefaultOptionType, RawValueType, FieldNames } from
import { warning } from '../../vc-util/warning';
import type { FlattenOptionData } from '../interface';
-function getKey(data: BaseOptionType, index: number) {
+function getKey(data: BaseOptionType, index: number, fieldNames?: FieldNames) {
const { key } = data;
let value: RawValueType;
- if ('value' in data) {
+ if (fieldNames && fieldNames.value && data[fieldNames.value] !== undefined) {
+ ({ [fieldNames.value]: value } = data);
+ } else if ('value' in data) {
({ value } = data);
}
@@ -54,7 +56,7 @@ export function flattenOptions
Date: Wed, 27 Aug 2025 16:30:19 +0900
Subject: [PATCH 6/6] Updated to actions/cache@v4 for GitHub workflows. (#8317)
https://github.com/actions/cache/discussions/1510
---
.github/workflows/codecov.yml | 8 ++++----
.github/workflows/test.yml | 20 ++++++++++----------
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml
index 5938a11d3..1a179420b 100644
--- a/.github/workflows/codecov.yml
+++ b/.github/workflows/codecov.yml
@@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v2
- name: cache package-lock.json
- uses: actions/cache@v1
+ uses: actions/cache@v4
with:
path: package-temp-dir
key: lock-${{ github.sha }}
@@ -27,7 +27,7 @@ jobs:
- name: cache node_modules
id: node_modules_cache_id
- uses: actions/cache@v1
+ uses: actions/cache@v4
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -52,13 +52,13 @@ jobs:
# submodules: true
- name: restore cache from package-lock.json
- uses: actions/cache@v1
+ uses: actions/cache@v4
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: restore cache from node_modules
- uses: actions/cache@v1
+ uses: actions/cache@v4
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a37ba8fe0..07be83add 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v2
- name: cache package-lock.json
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: package-temp-dir
key: lock-${{ github.sha }}
@@ -27,7 +27,7 @@ jobs:
- name: cache node_modules
id: node_modules_cache_id
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -43,25 +43,25 @@ jobs:
uses: actions/checkout@v2
- name: restore cache from package-lock.json
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: restore cache from node_modules
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: cache lib
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: lib
key: lib-${{ github.sha }}
- name: cache es
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: es
key: es-${{ github.sha }}
@@ -77,13 +77,13 @@ jobs:
uses: actions/checkout@v2
- name: restore cache from package-lock.json
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: restore cache from node_modules
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -99,13 +99,13 @@ jobs:
uses: actions/checkout@v2
- name: restore cache from package-lock.json
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: package-temp-dir
key: lock-${{ github.sha }}
- name: restore cache from node_modules
- uses: actions/cache@v2
+ uses: actions/cache@v4
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}