test: Update snapshot

This commit is contained in:
zombiej 2022-05-13 10:14:09 +08:00
parent debd7f3496
commit e8d9c42565
3 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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>
);
};