diff --git a/src/select/__tests__/__snapshots__/index.test.jsx.snap b/src/select/__tests__/__snapshots__/index.test.jsx.snap index 952ac06fa..0d6b9960d 100644 --- a/src/select/__tests__/__snapshots__/index.test.jsx.snap +++ b/src/select/__tests__/__snapshots__/index.test.jsx.snap @@ -6,7 +6,7 @@ exports[`Select > :props > :bordered 1`] = ` class="t-select__wrap" >
:props > :clearable 1`] = ` class="t-select__wrap" >
:props > :creatable 1`] = ` class="t-select__wrap" >
:props > :disabled 1`] = ` class="t-select__wrap" >
:props > :disabled 1`] = ` disabled="disabled" placeholder="请选择" readonly="readonly" - title="false" type="text" unselectable="on" /> @@ -204,7 +203,7 @@ exports[`Select > :props > :labelInValue 1`] = ` class="t-select__wrap" >
:props > :loading 1`] = ` class="t-select__wrap" >
:props > :placeholder 1`] = ` class="t-select__wrap" >
:props > :remote 1`] = ` remote="true" >
:props > :reserveKeyword 1`] = ` class="t-select__wrap" >
:props > :size 1`] = ` class="t-select__wrap" >
, }, /** 是否显示下拉框 */ - popupVisible: Boolean, + popupVisible: { + type: Boolean, + default: undefined, + }, /** 是否显示下拉框,非受控属性 */ defaultPopupVisible: Boolean, /** 组件前置图标 */ @@ -159,10 +162,12 @@ export default { /** 选中值 */ value: { type: [String, Number, Boolean, Object, Array] as PropType, + default: undefined, }, /** 选中值,非受控属性 */ defaultValue: { type: [String, Number, Boolean, Object, Array] as PropType, + default: undefined, }, /** 自定义选中项呈现的内容 */ valueDisplay: { diff --git a/test/snap/__snapshots__/csr.test.js.snap b/test/snap/__snapshots__/csr.test.js.snap index ead155767..d32c58eca 100644 --- a/test/snap/__snapshots__/csr.test.js.snap +++ b/test/snap/__snapshots__/csr.test.js.snap @@ -37164,7 +37164,7 @@ exports[`csr snapshot test > csr test ./src/config-provider/_example/others.vue style="width: 400px;" >
csr test ./src/config-provider/_example/others.vue style="width: 400px;" >
csr test ./src/config-provider/_example/others.vue style="width: 400px;" >
csr test ./src/select/_example/scroll-bottom.vue 1` style="width: 300px;" >
renders ./src/config-provider/_example/global.vue c exports[`ssr snapshot test > renders ./src/config-provider/_example/input.vue correctly 1`] = `"
"`; -exports[`ssr snapshot test > renders ./src/config-provider/_example/others.vue correctly 1`] = `"


0 / 20
0 / 0
Empty Data





















Feature Tag
Feature Tag
Feature Tag
Feature Tag


Tree Empty Data


Department A
Department B



First Step
You need to click the blue button
Second Step
Fill your base information into the form
Error Step
Something Wrong! Custom Error Icon!
4
Last Step
You haven't finish this step.


\\"\\"
loading
"`; +exports[`ssr snapshot test > renders ./src/config-provider/_example/others.vue correctly 1`] = `"


0 / 20
0 / 0
Empty Data





















Feature Tag
Feature Tag
Feature Tag
Feature Tag


Tree Empty Data


Department A
Department B



First Step
You need to click the blue button
Second Step
Fill your base information into the form
Error Step
Something Wrong! Custom Error Icon!
4
Last Step
You haven't finish this step.


\\"\\"
loading
"`; exports[`ssr snapshot test > renders ./src/config-provider/_example/pagination.vue correctly 1`] = `"
Total 36 items
10 / page
  • 1
  • 2
  • 3
  • 4
jump to
/ 4
"`; @@ -851,7 +851,7 @@ exports[`ssr snapshot test > renders ./src/select/_example/prefix.vue correctly exports[`ssr snapshot test > renders ./src/select/_example/remote-search.vue correctly 1`] = `"
请输入搜索
"`; -exports[`ssr snapshot test > renders ./src/select/_example/scroll-bottom.vue correctly 1`] = `"
"`; +exports[`ssr snapshot test > renders ./src/select/_example/scroll-bottom.vue correctly 1`] = `"
"`; exports[`ssr snapshot test > renders ./src/select/_example/size.vue correctly 1`] = `"
"`;