mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 11:32:52 +08:00
test: Update snapshot
This commit is contained in:
parent
debd7f3496
commit
e8d9c42565
@ -1534,7 +1534,7 @@ exports[`renders ./components/cascader/demo/multiple.md extend context correctly
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
||||||
style="opacity:1"
|
style="opacity:1;order:0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection-search"
|
class="ant-select-selection-search"
|
||||||
|
@ -622,7 +622,7 @@ exports[`renders ./components/cascader/demo/multiple.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
||||||
style="opacity:1"
|
style="opacity:1;order:0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection-search"
|
class="ant-select-selection-search"
|
||||||
|
@ -3,6 +3,7 @@ order: 24
|
|||||||
title:
|
title:
|
||||||
zh-CN: 响应式 maxTagCount
|
zh-CN: 响应式 maxTagCount
|
||||||
en-US: Responsive maxTagCount
|
en-US: Responsive maxTagCount
|
||||||
|
only: true
|
||||||
---
|
---
|
||||||
|
|
||||||
## zh-CN
|
## zh-CN
|
||||||
@ -32,7 +33,7 @@ for (let i = 10; i < 36; i++) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Demo = () => {
|
const Demo = () => {
|
||||||
const [value, setValue] = React.useState(['a10', 'c12', 'h17', 'j19', 'k20']);
|
const [value, setValue] = React.useState(['a10']);
|
||||||
|
|
||||||
const selectProps = {
|
const selectProps = {
|
||||||
mode: 'multiple' as const,
|
mode: 'multiple' as const,
|
||||||
@ -49,7 +50,6 @@ const Demo = () => {
|
|||||||
return (
|
return (
|
||||||
<Space direction="vertical" style={{ width: '100%' }}>
|
<Space direction="vertical" style={{ width: '100%' }}>
|
||||||
<Select {...selectProps} />
|
<Select {...selectProps} />
|
||||||
<Select {...selectProps} disabled />
|
|
||||||
</Space>
|
</Space>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user