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