File tree Expand file tree Collapse file tree 2 files changed +12
-53
lines changed Expand file tree Collapse file tree 2 files changed +12
-53
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ export default () => {
2323 />
2424 < PaginationWithSizeChanger
2525 defaultCurrent = { 1 }
26- total = { 100 }
26+ showSizeChanger
2727 // selectComponentClass={Select}
2828 sizeChangerProps = { {
2929 options : [
30- { value : '10' , label : '10 条每页' } ,
31- { value : '25' , label : '25 条每页' } ,
32- { value : ' 100' , label : '100 条每页' } ,
30+ { value : 10 , label : '10 条每页' } ,
31+ { value : 25 , label : '25 条每页' } ,
32+ { value : 100 , label : '100 条每页' } ,
3333 ] ,
3434 // className: 'my-select',
3535 // showSearch: true,
Original file line number Diff line number Diff line change @@ -3098,7 +3098,7 @@ exports[`Example showSizeChanger 1`] = `
30983098 />
30993099 </li >
31003100 <li
3101- class = " rc-pagination-item rc-pagination-item-1 rc-pagination-item-active "
3101+ class = " rc-pagination-item rc-pagination-item-1 rc-pagination-item-disabled "
31023102 tabindex = " 0"
31033103 title = " 1"
31043104 >
@@ -3109,58 +3109,14 @@ exports[`Example showSizeChanger 1`] = `
31093109 </a >
31103110 </li >
31113111 <li
3112- class = " rc-pagination-item rc-pagination-item-2"
3113- tabindex = " 0"
3114- title = " 2"
3115- >
3116- <a
3117- rel = " nofollow"
3118- >
3119- 2
3120- </a >
3121- </li >
3122- <li
3123- class = " rc-pagination-item rc-pagination-item-3"
3124- tabindex = " 0"
3125- title = " 3"
3126- >
3127- <a
3128- rel = " nofollow"
3129- >
3130- 3
3131- </a >
3132- </li >
3133- <li
3134- class = " rc-pagination-item rc-pagination-item-4"
3135- tabindex = " 0"
3136- title = " 4"
3137- >
3138- <a
3139- rel = " nofollow"
3140- >
3141- 4
3142- </a >
3143- </li >
3144- <li
3145- class = " rc-pagination-item rc-pagination-item-5"
3146- tabindex = " 0"
3147- title = " 5"
3148- >
3149- <a
3150- rel = " nofollow"
3151- >
3152- 5
3153- </a >
3154- </li >
3155- <li
3156- aria-disabled = " false"
3157- class = " rc-pagination-next"
3158- tabindex = " 0"
3112+ aria-disabled = " true"
3113+ class = " rc-pagination-next rc-pagination-disabled"
31593114 title = " 下一页"
31603115 >
31613116 <button
31623117 aria-label = " next page"
31633118 class = " rc-pagination-item-link"
3119+ disabled = " "
31643120 type = " button"
31653121 />
31663122 </li >
@@ -3169,7 +3125,7 @@ exports[`Example showSizeChanger 1`] = `
31693125 >
31703126 <div
31713127 aria-label = " 页码"
3172- class = " rc-select rc-pagination-options-size-changer my-select rc-select-single rc-select-show-search "
3128+ class = " rc-select rc-pagination-options-size-changer rc-select-single"
31733129 >
31743130 <div
31753131 class = " rc-select-selector"
@@ -3187,8 +3143,11 @@ exports[`Example showSizeChanger 1`] = `
31873143 autocomplete = " off"
31883144 class = " rc-select-selection-search-input"
31893145 id = " rc_select_TEST_OR_SSR"
3146+ readonly = " "
31903147 role = " combobox"
3148+ style = " opacity: 0;"
31913149 type = " search"
3150+ unselectable = " on"
31923151 value = " "
31933152 />
31943153 </span >
You can’t perform that action at this time.
0 commit comments