Skip to content

Commit

Permalink
test: fix select test
Browse files Browse the repository at this point in the history
  • Loading branch information
PengYYYYY committed Aug 16, 2023
1 parent 140fa6e commit cbfedfe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/select/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default {
/** 输入框的值 */
inputValue: {
type: [String, Number] as PropType<TdSelectProps['inputValue']>,
default: undefined,
},
/** 输入框的值,非受控属性 */
defaultInputValue: {
Expand Down Expand Up @@ -94,7 +95,10 @@ export default {
type: Object as PropType<TdSelectProps['popupProps']>,
},
/** 是否显示下拉框 */
popupVisible: Boolean,
popupVisible: {
type: Boolean,
default: undefined,
},
/** 是否显示下拉框,非受控属性 */
defaultPopupVisible: Boolean,
/** 组件前置图标 */
Expand Down Expand Up @@ -159,10 +163,12 @@ export default {
/** 选中值 */
value: {
type: [String, Number, Boolean, Object, Array] as PropType<TdSelectProps['value']>,
default: undefined,
},
/** 选中值,非受控属性 */
defaultValue: {
type: [String, Number, Boolean, Object, Array] as PropType<TdSelectProps['defaultValue']>,
default: undefined,
},
/** 自定义选中项呈现的内容 */
valueDisplay: {
Expand Down

0 comments on commit cbfedfe

Please sign in to comment.