diff --git a/README.md b/README.md
index c33c7ed15..42c1cd876 100644
--- a/README.md
+++ b/README.md
@@ -86,3 +86,5 @@ Become a sponsor and get your logo on our README on Github with a link to your s
## [More Sponsor (From Patreon、alipay、wechat、paypal...)](https://github.com/vueComponent/ant-design-vue/blob/master/BACKERS.md)
[![Let's fund issues in this repository](https://issuehunt.io/static/embed/issuehunt-button-v1.svg)](https://issuehunt.io/repos/104172832)
+
+This project is tested with BrowserStack.
diff --git a/components/image/PreviewGroup.tsx b/components/image/PreviewGroup.tsx
index 822e944f0..e081479d8 100644
--- a/components/image/PreviewGroup.tsx
+++ b/components/image/PreviewGroup.tsx
@@ -1,5 +1,6 @@
import type { PreviewGroupPreview } from '../vc-image/src/PreviewGroup';
import PreviewGroup from '../vc-image/src/PreviewGroup';
+import type { ExtractPropTypes } from 'vue';
import { computed, defineComponent } from 'vue';
import useConfigInject from '../config-provider/hooks/useConfigInject';
@@ -22,12 +23,17 @@ export const icons = {
left: ,
right: ,
};
+const previewGroupProps = () => ({
+ previewPrefixCls: String,
+ preview: anyType(),
+});
+export type ImageGroupProps = Partial>>;
const InternalPreviewGroup = defineComponent({
compatConfig: { MODE: 3 },
name: 'AImagePreviewGroup',
inheritAttrs: false,
- props: { previewPrefixCls: String, preview: anyType() },
+ props: previewGroupProps(),
setup(props, { attrs, slots }) {
const { prefixCls } = useConfigInject('image', props);
const previewPrefixCls = computed(() => `${prefixCls.value}-preview`);
diff --git a/components/tree-select/demo/basic.vue b/components/tree-select/demo/basic.vue
index 1c04a93c9..b756cdd53 100644
--- a/components/tree-select/demo/basic.vue
+++ b/components/tree-select/demo/basic.vue
@@ -26,10 +26,11 @@ The most basic usage.
allow-clear
tree-default-expand-all
:tree-data="treeData"
+ tree-node-filter-prop="label"
>
-
+
sss
- {{ title }}
+ {{ label }}
@@ -39,25 +40,35 @@ import type { TreeSelectProps } from 'ant-design-vue';
const value = ref();
const treeData = ref([
{
- title: 'parent 1',
+ label: 'parent 1',
value: 'parent 1',
children: [
{
- title: 'parent 1-0',
- value: 'parent 1-0',
+ label: 'parent 1',
+ value: 'parent 1',
children: [
{
- title: 'my leaf',
- value: 'leaf1',
+ label: 'parent 1-0',
+ value: 'parent 1-0',
+ children: [
+ {
+ label: 'my leaf',
+ value: 'leaf1',
+ },
+ {
+ label: 'your leaf',
+ value: 'leaf2',
+ },
+ ],
},
{
- title: 'your leaf',
- value: 'leaf2',
+ label: 'parent 1-1',
+ value: 'parent 1-1',
},
],
},
{
- title: 'parent 1-1',
+ label: 'parent 1-1',
value: 'parent 1-1',
},
],
diff --git a/components/tree-select/demo/checkable.vue b/components/tree-select/demo/checkable.vue
index e1aed3fd5..ec00ff1d2 100644
--- a/components/tree-select/demo/checkable.vue
+++ b/components/tree-select/demo/checkable.vue
@@ -24,6 +24,7 @@ Multiple and checkable.
allow-clear
:show-checked-strategy="SHOW_PARENT"
placeholder="Please select"
+ tree-node-filter-prop="label"
/>