diff --git a/src/_common b/src/_common index 66f691905..77c73b67e 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit 66f691905acb4751be59a675e52e9b50b7167931 +Subproject commit 77c73b67e2d69fa22a830f20ec576d36829f71ba diff --git a/src/date-picker/__tests__/__snapshots__/date-picker.test.tsx.snap b/src/date-picker/__tests__/__snapshots__/date-picker.test.tsx.snap index ec84ce6db..c17e63186 100644 --- a/src/date-picker/__tests__/__snapshots__/date-picker.test.tsx.snap +++ b/src/date-picker/__tests__/__snapshots__/date-picker.test.tsx.snap @@ -73,7 +73,7 @@ exports[`custom-icon.jsx 1`] = ` class="t-input t-is-readonly t-input--prefix t-input--suffix" >
+ + + + + +
@@ -2011,13 +2033,35 @@ exports[`error-message.jsx 1`] = ` class="t-input__wrap" >
+ + + + + +
@@ -2542,7 +2586,7 @@ exports[`login.jsx 1`] = ` class="t-input t-input--prefix" >
+ + + + + +
@@ -3789,13 +3855,35 @@ exports[`validate-message.jsx 1`] = ` class="t-input__wrap" >
+ + + + + +
diff --git a/src/input/Input.tsx b/src/input/Input.tsx index 708eaa7c0..a47b7fe05 100644 --- a/src/input/Input.tsx +++ b/src/input/Input.tsx @@ -1,6 +1,6 @@ import React, { useState, useRef, useImperativeHandle, useEffect } from 'react'; import classNames from 'classnames'; -import { CloseCircleFilledIcon } from 'tdesign-icons-react'; +import { CloseCircleFilledIcon, BrowseOffIcon, BrowseIcon } from 'tdesign-icons-react'; import isFunction from 'lodash/isFunction'; import forwardRefWithStatics from '../_util/forwardRefWithStatics'; import useConfig from '../_util/useConfig'; @@ -27,7 +27,7 @@ const renderIcon = (classPrefix: string, type: 'prefix' | 'suffix', icon: TNode) if (typeof icon === 'function') result = icon(); - const iconClassName = icon ? `${classPrefix}-input__suffix-icon` : ''; + const iconClassName = icon ? `${classPrefix}-input__${type}-icon` : ''; if (result) { result = {result}; @@ -39,6 +39,7 @@ const renderIcon = (classPrefix: string, type: 'prefix' | 'suffix', icon: TNode) const Input = forwardRefWithStatics( (props: InputProps, ref) => { const { + type, autoWidth, placeholder, disabled, @@ -87,32 +88,30 @@ const Input = forwardRefWithStatics( const wrapperRef: React.RefObject = useRef(); const [isHover, toggleIsHover] = useState(false); const [isFocused, toggleIsFocused] = useState(false); + const [renderType, setRenderType] = useState(type); const [composingRefValue, setComposingValue] = useState(''); const isShowClearIcon = ((clearable && value && !disabled) || showClearIconOnEmpty) && isHover; const prefixIconContent = renderIcon(classPrefix, 'prefix', prefixIcon); - const suffixIconNew = isShowClearIcon ? ( - - ) : ( - suffixIcon - ); + let suffixIconNew = suffixIcon; + + if (isShowClearIcon) + suffixIconNew = ; + if (type === 'password') { + if (renderType === 'password') { + suffixIconNew = ( + + ); + } else if (renderType === 'text') { + suffixIconNew = ; + } + } + const suffixIconContent = renderIcon(classPrefix, 'suffix', suffixIconNew); const labelContent = isFunction(label) ? label() : label; const suffixContent = isFunction(suffix) ? suffix() : suffix; - const inputPropsNames = Object.keys(restProps).filter((key) => !/^on[A-Z]/.test(key)); - const inputProps = inputPropsNames.reduce((inputProps, key) => Object.assign(inputProps, { [key]: props[key] }), { - className: '', - }); - const eventPropsNames = Object.keys(restProps).filter((key) => /^on[A-Z]/.test(key)); - const eventProps = eventPropsNames.reduce((eventProps, key) => { - Object.assign(eventProps, { - [key]: (e: any) => props[key](e.currentTarget.value, { e }), - }); - return eventProps; - }, {}); - useEffect(() => { if (!autoWidth) return; inputRef.current.style.width = `${inputPreRef.current.offsetWidth}px`; @@ -122,9 +121,8 @@ const Input = forwardRefWithStatics( ); + function togglePasswordVisible() { + const toggleType = renderType === 'password' ? 'text' : 'password'; + setRenderType(toggleType); + } + function handleChange(e: React.ChangeEvent | React.CompositionEvent) { let { value } = e.currentTarget; if (composingRef.current) { @@ -279,9 +282,10 @@ const Input = forwardRefWithStatics(
{renderInputNode} {tips && ( diff --git a/src/input/InputGroup.tsx b/src/input/InputGroup.tsx index fe6062ab8..45aa59fb2 100644 --- a/src/input/InputGroup.tsx +++ b/src/input/InputGroup.tsx @@ -7,17 +7,17 @@ export interface InputGroupProps extends React.HTMLAttributes { * 是否拆分 * @default false */ - seperate?: boolean; + separate?: boolean; } const InputGroup = forwardRef((props: InputGroupProps, ref: React.Ref) => { const { classPrefix } = useConfig(); - const { seperate, children, className, ...wrapperProps } = props; + const { separate, children, className, ...wrapperProps } = props; return (
diff --git a/src/input/__tests__/__snapshots__/input.test.tsx.snap b/src/input/__tests__/__snapshots__/input.test.tsx.snap index fb68dbf4c..38ebb92ab 100644 --- a/src/input/__tests__/__snapshots__/input.test.tsx.snap +++ b/src/input/__tests__/__snapshots__/input.test.tsx.snap @@ -73,7 +73,7 @@ exports[`Input 组件测试 prefixIcon is function 1`] = ` class="t-input t-input--prefix" > prefixIcon @@ -98,7 +98,7 @@ exports[`Input 组件测试 prefixIcon suffixIcon 1`] = ` class="t-input t-input--prefix t-input--suffix" > + @@ -384,6 +389,35 @@ exports[`group.jsx 1`] = `
+
+
+
+ +
+
+
+
+ +
+
+
@@ -395,7 +429,6 @@ exports[`group.jsx 1`] = ` >
@@ -408,37 +441,67 @@ exports[`group.jsx 1`] = ` >
+ +  -  +
+
+ +
+
+
+
+ +
+
+
@@ -487,7 +550,7 @@ exports[`password.jsx 1`] = ` class="t-input t-input--prefix t-input--suffix" > @@ -518,14 +581,19 @@ exports[`password.jsx 1`] = ` class="t-input__suffix t-input__suffix-icon" > + @@ -540,7 +608,7 @@ exports[`password.jsx 1`] = ` class="t-input t-input--prefix t-input--suffix" > @@ -571,14 +639,19 @@ exports[`password.jsx 1`] = ` class="t-input__suffix t-input__suffix-icon" > + @@ -789,7 +862,7 @@ exports[`textarea.jsx 1`] = ` class="t-input t-input--prefix t-input--suffix" > - -  -  + + +
); diff --git a/src/input/_example/password.jsx b/src/input/_example/password.jsx index 522059ddc..86644341d 100644 --- a/src/input/_example/password.jsx +++ b/src/input/_example/password.jsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { Input } from 'tdesign-react'; -import { LockOnIcon, ErrorCircleFilledIcon } from 'tdesign-icons-react'; +import { LockOnIcon } from 'tdesign-icons-react'; export default function InputExample() { const [value, onChange] = useState(''); @@ -8,8 +8,7 @@ export default function InputExample() {
} - suffixIcon={} - placeholder="请输入内容" + placeholder="请输入" value={value} type="password" onChange={(value) => { @@ -18,8 +17,7 @@ export default function InputExample() { /> } - suffixIcon={} - placeholder="请输入内容" + placeholder="请输入" value={value} type="password" onChange={(value) => { diff --git a/src/select/__tests__/__snapshots__/select.test.tsx.snap b/src/select/__tests__/__snapshots__/select.test.tsx.snap index a7736690b..2f204fd68 100644 --- a/src/select/__tests__/__snapshots__/select.test.tsx.snap +++ b/src/select/__tests__/__snapshots__/select.test.tsx.snap @@ -64,10 +64,10 @@ exports[`collapsed.jsx 1`] = ` class="t-popup__reference t-select t-select-input t-select-input--multiple" >
"`; -exports[`ssr snapshot test renders ./src/date-picker/_example/custom-icon.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/date-picker/_example/custom-icon.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/date-picker/_example/date-presets-alt.jsx correctly 1`] = `"

日期: 2020-1-1 至 2020-8-8
"`; @@ -254,17 +254,17 @@ exports[`ssr snapshot test renders ./src/form/_example/align.jsx correctly 1`] = exports[`ssr snapshot test renders ./src/form/_example/base.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/form/_example/clear-validate.jsx correctly 1`] = `"
这是用户名字段帮助说明
一句话介绍自己
"`; +exports[`ssr snapshot test renders ./src/form/_example/clear-validate.jsx correctly 1`] = `"
这是用户名字段帮助说明
一句话介绍自己
"`; exports[`ssr snapshot test renders ./src/form/_example/custom-validator.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/form/_example/disabled.jsx correctly 1`] = `"
上海
请选择单张图片文件上传
"`; -exports[`ssr snapshot test renders ./src/form/_example/error-message.jsx correctly 1`] = `"
这是用户名字段帮助说明
一句话介绍自己
"`; +exports[`ssr snapshot test renders ./src/form/_example/error-message.jsx correctly 1`] = `"
这是用户名字段帮助说明
一句话介绍自己
"`; exports[`ssr snapshot test renders ./src/form/_example/layout.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/form/_example/login.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/form/_example/login.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/form/_example/reset.jsx correctly 1`] = `"
"`; @@ -272,7 +272,7 @@ exports[`ssr snapshot test renders ./src/form/_example/size.jsx correctly 1`] = exports[`ssr snapshot test renders ./src/form/_example/validate-complicated-data.jsx correctly 1`] = `"
学生1
学生2
"`; -exports[`ssr snapshot test renders ./src/form/_example/validate-message.jsx correctly 1`] = `"
这是用户名字段帮助说明
一句话介绍自己
"`; +exports[`ssr snapshot test renders ./src/form/_example/validate-message.jsx correctly 1`] = `"
这是用户名字段帮助说明
一句话介绍自己
"`; exports[`ssr snapshot test renders ./src/form/_example/validator.jsx correctly 1`] = `"
这里请填写用户名
这里请填写密码
"`; @@ -314,17 +314,17 @@ exports[`ssr snapshot test renders ./src/input/_example/disabled.jsx correctly 1 exports[`ssr snapshot test renders ./src/input/_example/format.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/input/_example/group.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/input/_example/group.jsx correctly 1`] = `"
 - 
"`; exports[`ssr snapshot test renders ./src/input/_example/max-length-count.jsx correctly 1`] = `"
0/5
"`; -exports[`ssr snapshot test renders ./src/input/_example/password.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/input/_example/password.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/input/_example/size.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/input/_example/status.jsx correctly 1`] = `"




这是普通文本提示
校验通过文本提示
校验不通过文本提示
校验存在严重问题文本提示
"`; -exports[`ssr snapshot test renders ./src/input/_example/textarea.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/input/_example/textarea.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/input-number/_example/align.jsx correctly 1`] = `"
"`; @@ -418,7 +418,7 @@ exports[`ssr snapshot test renders ./src/message/_example/loading.jsx correctly exports[`ssr snapshot test renders ./src/message/_example/methods.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/message/_example/offset.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/message/_example/offset.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/notification/_example/base.jsx correctly 1`] = `"
标题名称
这是一条消息通知
"`; @@ -504,13 +504,13 @@ exports[`ssr snapshot test renders ./src/radio/_example/type.jsx correctly 1`] = exports[`ssr snapshot test renders ./src/select/_example/base.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/select/_example/collapsed.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/select/_example/collapsed.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/select/_example/creatable.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/select/_example/custom-options.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/select/_example/custom-selected.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/select/_example/custom-selected.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/select/_example/disabled.jsx correctly 1`] = `"
"`; @@ -518,13 +518,13 @@ exports[`ssr snapshot test renders ./src/select/_example/filterable.jsx correctl exports[`ssr snapshot test renders ./src/select/_example/group.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/select/_example/keys.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/select/_example/keys.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/select/_example/label-in-value.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/select/_example/label-in-value.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/select/_example/max.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/select/_example/max.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/select/_example/multiple.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/select/_example/multiple.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/select/_example/noborder.jsx correctly 1`] = `"
请选择
"`; @@ -546,21 +546,21 @@ exports[`ssr snapshot test renders ./src/select-input/_example/autocomplete.jsx exports[`ssr snapshot test renders ./src/select-input/_example/autowidth.jsx correctly 1`] = `"
Please Select
"`; -exports[`ssr snapshot test renders ./src/select-input/_example/autowidth-multiple.jsx correctly 1`] = `"
Vue+2
"`; +exports[`ssr snapshot test renders ./src/select-input/_example/autowidth-multiple.jsx correctly 1`] = `"
Vue+2
"`; exports[`ssr snapshot test renders ./src/select-input/_example/borderless.jsx correctly 1`] = `"
Please Select
"`; -exports[`ssr snapshot test renders ./src/select-input/_example/borderless-multiple.jsx correctly 1`] = `"
Vue+2
"`; +exports[`ssr snapshot test renders ./src/select-input/_example/borderless-multiple.jsx correctly 1`] = `"
Vue+2
"`; -exports[`ssr snapshot test renders ./src/select-input/_example/collapsed-items.jsx correctly 1`] = `"
tdesign-vue+5


tdesign-vuetdesign-reactMore(+4)
"`; +exports[`ssr snapshot test renders ./src/select-input/_example/collapsed-items.jsx correctly 1`] = `"
tdesign-vue+5


tdesign-vuetdesign-reactMore(+4)
"`; -exports[`ssr snapshot test renders ./src/select-input/_example/custom-tag.jsx correctly 1`] = `"
tdesign-vue


tdesign-vuetdesign-react


tdesign-vuetdesign-reacttdesign-mobile-vue
"`; +exports[`ssr snapshot test renders ./src/select-input/_example/custom-tag.jsx correctly 1`] = `"
tdesign-vue


tdesign-vuetdesign-react


tdesign-vuetdesign-reacttdesign-mobile-vue
"`; -exports[`ssr snapshot test renders ./src/select-input/_example/excess-tags-display-type.jsx correctly 1`] = `"

第一种呈现方式:超出时滚动显示


tdesign-vuetdesign-reacttdesign-miniprogramtdesign-angulartdesign-mobile-vuetdesign-mobile-react



第二种呈现方式:超出时换行显示


tdesign-vuetdesign-reacttdesign-miniprogramtdesign-angulartdesign-mobile-vuetdesign-mobile-react
"`; +exports[`ssr snapshot test renders ./src/select-input/_example/excess-tags-display-type.jsx correctly 1`] = `"

第一种呈现方式:超出时滚动显示


tdesign-vuetdesign-reacttdesign-miniprogramtdesign-angulartdesign-mobile-vuetdesign-mobile-react



第二种呈现方式:超出时换行显示


tdesign-vuetdesign-reacttdesign-miniprogramtdesign-angulartdesign-mobile-vuetdesign-mobile-react
"`; exports[`ssr snapshot test renders ./src/select-input/_example/label-suffix.jsx correctly 1`] = `"
前置内容:


单位:元
"`; -exports[`ssr snapshot test renders ./src/select-input/_example/multiple.jsx correctly 1`] = `"



VueReactMiniprogram
"`; +exports[`ssr snapshot test renders ./src/select-input/_example/multiple.jsx correctly 1`] = `"



VueReactMiniprogram
"`; exports[`ssr snapshot test renders ./src/select-input/_example/single.jsx correctly 1`] = `"
"`; @@ -704,25 +704,25 @@ exports[`ssr snapshot test renders ./src/tag/_example/shape.jsx correctly 1`] = exports[`ssr snapshot test renders ./src/tag/_example/size.jsx correctly 1`] = `"
小型标签默认标签大型标签
小型标签默认标签大型标签
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/auto-width.jsx correctly 1`] = `"
VueReact
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/auto-width.jsx correctly 1`] = `"
VueReact
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/base.jsx correctly 1`] = `"
VueReactAngular
Controlled:
VueReact
UnControlled:
VueReact
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/base.jsx correctly 1`] = `"
VueReactAngular
Controlled:
VueReact
UnControlled:
VueReact
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/collapsed.jsx correctly 1`] = `"
Vue+4
VueReactMiniprogram
More(2)
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/collapsed.jsx correctly 1`] = `"
Vue+4
VueReactMiniprogram
More(2)
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/custom-tag.jsx correctly 1`] = `"
StudentAStudentB+1


StudentA
StudentB
StudentC
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/custom-tag.jsx correctly 1`] = `"
StudentAStudentB+1


StudentA
StudentB
StudentC
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/draggable.jsx correctly 1`] = `"
VueReactAngular
Controlled:
VueReactAngularMiniprogram
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/draggable.jsx correctly 1`] = `"
VueReactAngular
Controlled:
VueReactAngularMiniprogram
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/excess.jsx correctly 1`] = `"
Scroll:
VueReact
BreakLine:
VueReact
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/excess.jsx correctly 1`] = `"
Scroll:
VueReact
BreakLine:
VueReact
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/max.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/max.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/size.jsx correctly 1`] = `"
VueReact
VueReact
VueReact
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/size.jsx correctly 1`] = `"
VueReact
VueReact
VueReact
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/status.jsx correctly 1`] = `"
VueReactMiniprogram
VueReactMiniprogram
这是普通文本提示
VueReactMiniprogram
校验通过文本提示
VueReactMiniprogram
校验不通过文本提示
VueReactMiniprogram
校验存在严重问题文本提示
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/status.jsx correctly 1`] = `"
VueReactMiniprogram
VueReactMiniprogram
这是普通文本提示
VueReactMiniprogram
校验通过文本提示
VueReactMiniprogram
校验不通过文本提示
VueReactMiniprogram
校验存在严重问题文本提示
"`; -exports[`ssr snapshot test renders ./src/tag-input/_example/theme.jsx correctly 1`] = `"
VueReactMiniprogram
VueReactMiniprogram
VueReactMiniprogram
VueReactMiniprogram
"`; +exports[`ssr snapshot test renders ./src/tag-input/_example/theme.jsx correctly 1`] = `"
VueReactMiniprogram
VueReactMiniprogram
VueReactMiniprogram
VueReactMiniprogram
"`; exports[`ssr snapshot test renders ./src/textarea/_example/base.jsx correctly 1`] = `"


"`; @@ -734,21 +734,21 @@ exports[`ssr snapshot test renders ./src/textarea/_example/status.jsx correctly exports[`ssr snapshot test renders ./src/textarea/_example/type.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/time-picker/_example/disabled.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/time-picker/_example/disabled.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/time-picker/_example/hide-clear-button.jsx correctly 1`] = `"

禁止清空


::


允许清空


::
"`; +exports[`ssr snapshot test renders ./src/time-picker/_example/hide-clear-button.jsx correctly 1`] = `"

禁止清空


::


允许清空


::
"`; -exports[`ssr snapshot test renders ./src/time-picker/_example/hm.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/time-picker/_example/hm.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/time-picker/_example/hms.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/time-picker/_example/hms.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/time-picker/_example/keyboard.jsx correctly 1`] = `"
::
"`; +exports[`ssr snapshot test renders ./src/time-picker/_example/keyboard.jsx correctly 1`] = `"
::
"`; -exports[`ssr snapshot test renders ./src/time-picker/_example/range.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/time-picker/_example/range.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/time-picker/_example/show-steps.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/time-picker/_example/show-steps.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/time-picker/_example/twelve-hour-meridian.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/time-picker/_example/twelve-hour-meridian.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/tooltip/_example/arrow.jsx correctly 1`] = `"
"`; @@ -816,21 +816,21 @@ exports[`ssr snapshot test renders ./src/tree/_example/sync.jsx correctly 1`] = exports[`ssr snapshot test renders ./src/tree-select/_example/base.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/tree-select/_example/collapsed.jsx correctly 1`] = `"
广州市+1
广州市
更多...
"`; +exports[`ssr snapshot test renders ./src/tree-select/_example/collapsed.jsx correctly 1`] = `"
广州市+1
广州市
更多...
"`; -exports[`ssr snapshot test renders ./src/tree-select/_example/filterable.jsx correctly 1`] = `"
"`; +exports[`ssr snapshot test renders ./src/tree-select/_example/filterable.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/tree-select/_example/lazy.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/tree-select/_example/multiple.jsx correctly 1`] = `"
广州市深圳市
"`; +exports[`ssr snapshot test renders ./src/tree-select/_example/multiple.jsx correctly 1`] = `"
广州市深圳市
"`; exports[`ssr snapshot test renders ./src/tree-select/_example/prefix.jsx correctly 1`] = `"
"`; exports[`ssr snapshot test renders ./src/tree-select/_example/props.jsx correctly 1`] = `"
"`; -exports[`ssr snapshot test renders ./src/tree-select/_example/valuedisplay.jsx correctly 1`] = `"
广州市(guangzhou)
广州市(guangzhou)深圳市(shenzhen)
"`; +exports[`ssr snapshot test renders ./src/tree-select/_example/valuedisplay.jsx correctly 1`] = `"
广州市(guangzhou)
广州市(guangzhou)深圳市(shenzhen)
"`; -exports[`ssr snapshot test renders ./src/tree-select/_example/valuetype.jsx correctly 1`] = `"
广州市深圳市
"`; +exports[`ssr snapshot test renders ./src/tree-select/_example/valuetype.jsx correctly 1`] = `"
广州市深圳市
"`; exports[`ssr snapshot test renders ./src/upload/_example/base.jsx correctly 1`] = `"
上传文件大小在 5M 以内
"`;