From 2d9f5d858a68af054d8da01a5b2cd8dd30075f6d Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 21 Jul 2020 14:12:59 +0800 Subject: [PATCH] style(Picker): adjust default value of visible-item-count to 6 (#6827) --- src/area/README.md | 2 +- src/area/README.zh-CN.md | 2 +- src/area/test/__snapshots__/demo.spec.js.snap | 38 +++--- .../test/__snapshots__/index.spec.js.snap | 108 +++++++++--------- src/datetime-picker/README.md | 2 +- src/datetime-picker/README.zh-CN.md | 2 +- .../__snapshots__/date-picker.spec.js.snap | 28 ++--- .../datetime-picker.spec.js.snap | 8 +- .../test/__snapshots__/demo.spec.js.snap | 78 ++++++------- .../__snapshots__/time-picker.spec.js.snap | 32 +++--- src/picker/README.md | 2 +- src/picker/README.zh-CN.md | 2 +- src/picker/shared.ts | 2 +- .../test/__snapshots__/demo.spec.js.snap | 52 ++++----- .../test/__snapshots__/index.spec.js.snap | 30 ++--- 15 files changed, 194 insertions(+), 194 deletions(-) diff --git a/src/area/README.md b/src/area/README.md index 4a60b074b..f8494fa0b 100644 --- a/src/area/README.md +++ b/src/area/README.md @@ -66,7 +66,7 @@ To have a selected value,simply pass the `code` of target area to `value` prop | loading | Whether to show loading prompt | _boolean_ | `false` | | item-height `v2.8.6` | Option height, supports `px` `vw` `rem` unit, default `px` | _number \| string_ | `44` | | columns-num | Level of picker | _number \| string_ | `3` | -| visible-item-count | Count of visible columns | _number \| string_ | `5` | +| visible-item-count | Count of visible columns | _number \| string_ | `6` | | swipe-duration `v2.2.13` | Duration of the momentum animation,unit `ms` | _number \| string_ | `1000` | | is-oversea-code `v2.1.4` | The method to validate oversea code | _() => boolean_ | - | diff --git a/src/area/README.zh-CN.md b/src/area/README.zh-CN.md index 0de44a86a..5e2691ffe 100644 --- a/src/area/README.zh-CN.md +++ b/src/area/README.zh-CN.md @@ -66,7 +66,7 @@ Vue.use(Area); | loading | 是否显示加载状态 | _boolean_ | `false` | | item-height `v2.8.6` | 选项高度,支持 `px` `vw` `rem` 单位,默认 `px` | _number \| string_ | `44` | | columns-num | 显示列数,3-省市区,2-省市,1-省 | _number \| string_ | `3` | -| visible-item-count | 可见的选项个数 | _number \| string_ | `5` | +| visible-item-count | 可见的选项个数 | _number \| string_ | `6` | | swipe-duration `v2.2.13` | 快速滑动时惯性滚动的时长,单位`ms` | _number \| string_ | `1000` | | is-oversea-code `v2.1.4` | 根据`code`校验海外地址,海外地址会划分至单独的分类 | _() => boolean_ | - | diff --git a/src/area/test/__snapshots__/demo.spec.js.snap b/src/area/test/__snapshots__/demo.spec.js.snap index 1853af53c..984178494 100644 --- a/src/area/test/__snapshots__/demo.spec.js.snap +++ b/src/area/test/__snapshots__/demo.spec.js.snap @@ -8,9 +8,9 @@ exports[`renders demo correctly 1`] = `
标题
-
+
-
    +
    • 北京市
    • @@ -119,14 +119,14 @@ exports[`renders demo correctly 1`] = `
-
    +
    • 北京市
-
    +
    • 东城区
    • @@ -177,7 +177,7 @@ exports[`renders demo correctly 1`] = `
-
+
@@ -189,9 +189,9 @@ exports[`renders demo correctly 1`] = `
标题
-
+
-
    +
    • 北京市
    • @@ -300,7 +300,7 @@ exports[`renders demo correctly 1`] = `
-
    +
    • 杭州市
    • @@ -337,7 +337,7 @@ exports[`renders demo correctly 1`] = `
-
    +
    • 鹿城区
    • @@ -373,7 +373,7 @@ exports[`renders demo correctly 1`] = `
-
+
@@ -385,9 +385,9 @@ exports[`renders demo correctly 1`] = `
标题
-
+
-
    +
    • 北京市
    • @@ -496,13 +496,13 @@ exports[`renders demo correctly 1`] = `
-
    +
    • 北京市
-
+
@@ -514,9 +514,9 @@ exports[`renders demo correctly 1`] = `
标题
-
+
-
    +
    • 请选择
    • @@ -628,12 +628,12 @@ exports[`renders demo correctly 1`] = `
-
    +
      -
        +
          -
          +
          diff --git a/src/area/test/__snapshots__/index.spec.js.snap b/src/area/test/__snapshots__/index.spec.js.snap index 2db538023..e29ea9587 100644 --- a/src/area/test/__snapshots__/index.spec.js.snap +++ b/src/area/test/__snapshots__/index.spec.js.snap @@ -4,9 +4,9 @@ exports[`change option 1`] = `
          -
          +
          -
            +
            • 北京市
            • @@ -16,7 +16,7 @@ exports[`change option 1`] = `
          -
            +
            • 北京市
            • @@ -26,7 +26,7 @@ exports[`change option 1`] = `
          -
            +
            • 东城区
            • @@ -35,7 +35,7 @@ exports[`change option 1`] = `
          -
          +
          @@ -46,9 +46,9 @@ exports[`change option 2`] = `
          -
          +
          -
            +
            • 北京市
            • @@ -58,7 +58,7 @@ exports[`change option 2`] = `
          -
            +
            • 天津市
            • @@ -68,7 +68,7 @@ exports[`change option 2`] = `
          -
            +
            • 和平区
            • @@ -77,7 +77,7 @@ exports[`change option 2`] = `
          -
          +
          @@ -88,9 +88,9 @@ exports[`change option 3`] = `
          -
          +
          -
            +
            • 北京市
            • @@ -100,7 +100,7 @@ exports[`change option 3`] = `
          -
            +
            • 天津市
            • @@ -110,7 +110,7 @@ exports[`change option 3`] = `
          -
            +
            • 和平区
            • @@ -119,7 +119,7 @@ exports[`change option 3`] = `
          -
          +
          @@ -130,9 +130,9 @@ exports[`columns-num prop 1`] = `
          -
          +
          -
            +
            • 北京市
            • @@ -142,7 +142,7 @@ exports[`columns-num prop 1`] = `
          -
            +
            • 北京市
            • @@ -151,7 +151,7 @@ exports[`columns-num prop 1`] = `
          -
          +
          @@ -161,17 +161,17 @@ exports[`columns-num prop 1`] = ` exports[`columns-top、columns-bottom slot 1`] = `
          - Top
          + Top
          -
            +
              -
                +
                  -
                    +
                      -
                      +
                      Bottom @@ -182,9 +182,9 @@ exports[`reset method 1`] = `
                      -
                      +
                      -
                        +
                        • 北京市
                        • @@ -194,7 +194,7 @@ exports[`reset method 1`] = `
                      -
                        +
                        • 天津市
                        • @@ -204,13 +204,13 @@ exports[`reset method 1`] = `
                      -
                        +
                        • 蓟县
                      -
                      +
                      @@ -221,9 +221,9 @@ exports[`reset method 2`] = `
                      -
                      +
                      -
                        +
                        • 北京市
                        • @@ -233,7 +233,7 @@ exports[`reset method 2`] = `
                      -
                        +
                        • 北京市
                        • @@ -243,7 +243,7 @@ exports[`reset method 2`] = `
                      -
                        +
                        • 东城区
                        • @@ -252,7 +252,7 @@ exports[`reset method 2`] = `
                      -
                      +
                      @@ -263,17 +263,17 @@ exports[`title slot 1`] = `
                      Custom Title
                      -
                      +
                      -
                        +
                          -
                            +
                              -
                                +
                                  -
                                  +
                                  @@ -284,9 +284,9 @@ exports[`watch areaList & code 1`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 北京市
                                    • @@ -296,7 +296,7 @@ exports[`watch areaList & code 1`] = `
                                  -
                                    +
                                    • 北京市
                                    • @@ -306,7 +306,7 @@ exports[`watch areaList & code 1`] = `
                                  -
                                    +
                                    • 东城区
                                    • @@ -315,7 +315,7 @@ exports[`watch areaList & code 1`] = `
                                  -
                                  +
                                  @@ -326,9 +326,9 @@ exports[`watch areaList & code 2`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 北京市
                                    • @@ -338,7 +338,7 @@ exports[`watch areaList & code 2`] = `
                                  -
                                    +
                                    • 北京市
                                    • @@ -348,7 +348,7 @@ exports[`watch areaList & code 2`] = `
                                  -
                                    +
                                    • 东城区
                                    • @@ -357,7 +357,7 @@ exports[`watch areaList & code 2`] = `
                                  -
                                  +
                                  @@ -368,9 +368,9 @@ exports[`watch areaList & code 3`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 北京市
                                    • @@ -380,7 +380,7 @@ exports[`watch areaList & code 3`] = `
                                  -
                                    +
                                    • 北京市
                                    • @@ -390,7 +390,7 @@ exports[`watch areaList & code 3`] = `
                                  -
                                    +
                                    • 东城区
                                    • @@ -399,7 +399,7 @@ exports[`watch areaList & code 3`] = `
                                  -
                                  +
                                  diff --git a/src/datetime-picker/README.md b/src/datetime-picker/README.md index 3293d5e20..44b5d09f2 100644 --- a/src/datetime-picker/README.md +++ b/src/datetime-picker/README.md @@ -260,7 +260,7 @@ export default { | formatter | Option text formatter | _(type, val) => val_ | - | | columns-order `v2.9.2` | Array for ordering columns, where item can be set to
                                  `year`, `month`, `day`, `hour` and `minute` | _string[]_ | - | | item-height `v2.8.6` | Option height, supports `px` `vw` `rem` unit, default `px` | _number \| string_ | `44` | -| visible-item-count | Count of visible columns | _number \| string_ | `5` | +| visible-item-count | Count of visible columns | _number \| string_ | `6` | | swipe-duration `v2.2.13` | Duration of the momentum animation,unit `ms` | _number \| string_ | `1000` | ### DatePicker Props diff --git a/src/datetime-picker/README.zh-CN.md b/src/datetime-picker/README.zh-CN.md index f7a39741a..17fb28660 100644 --- a/src/datetime-picker/README.zh-CN.md +++ b/src/datetime-picker/README.zh-CN.md @@ -269,7 +269,7 @@ export default { | formatter | 选项格式化函数 | _(type, val) => val_ | - | | columns-order `v2.9.2` | 自定义列排序数组, 子项可选值为
                                  `year`、`month`、`day`、`hour`、`minute` | _string[]_ | - | | item-height `v2.8.6` | 选项高度,支持 `px` `vw` `rem` 单位,默认 `px` | _number \| string_ | `44` | -| visible-item-count | 可见的选项个数 | _number \| string_ | `5` | +| visible-item-count | 可见的选项个数 | _number \| string_ | `6` | | swipe-duration `v2.2.13` | 快速滑动时惯性滚动的时长,单位`ms` | _number \| string_ | `1000` | ### DatePicker Props diff --git a/src/datetime-picker/test/__snapshots__/date-picker.spec.js.snap b/src/datetime-picker/test/__snapshots__/date-picker.spec.js.snap index 1489ea5bc..69d2e9083 100644 --- a/src/datetime-picker/test/__snapshots__/date-picker.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/date-picker.spec.js.snap @@ -4,16 +4,16 @@ exports[`filter prop 1`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 2020
                                  -
                                    +
                                    • 05
                                    • @@ -23,7 +23,7 @@ exports[`filter prop 1`] = `
                                  -
                                    +
                                    • 05
                                    • @@ -45,7 +45,7 @@ exports[`filter prop 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -64,7 +64,7 @@ exports[`filter prop 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -103,7 +103,7 @@ exports[`filter prop 1`] = `
                                  -
                                  +
                                  @@ -114,9 +114,9 @@ exports[`formatter prop 1`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 2010 year
                                    • @@ -126,7 +126,7 @@ exports[`formatter prop 1`] = `
                                  -
                                    +
                                    • 05 month
                                    • @@ -136,7 +136,7 @@ exports[`formatter prop 1`] = `
                                  -
                                    +
                                    • 05 day
                                    • @@ -158,7 +158,7 @@ exports[`formatter prop 1`] = `
                                  -
                                    +
                                    • 00 hour
                                    • @@ -177,7 +177,7 @@ exports[`formatter prop 1`] = `
                                  -
                                    +
                                    • 00 minute
                                    • @@ -216,7 +216,7 @@ exports[`formatter prop 1`] = `
                                  -
                                  +
                                  diff --git a/src/datetime-picker/test/__snapshots__/datetime-picker.spec.js.snap b/src/datetime-picker/test/__snapshots__/datetime-picker.spec.js.snap index 93186057a..fea04fd14 100644 --- a/src/datetime-picker/test/__snapshots__/datetime-picker.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/datetime-picker.spec.js.snap @@ -4,9 +4,9 @@ exports[`time type 1`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 22
                                    • @@ -16,7 +16,7 @@ exports[`time type 1`] = `
                                  -
                                    +
                                    • 58
                                    • @@ -25,7 +25,7 @@ exports[`time type 1`] = `
                                  -
                                  +
                                  diff --git a/src/datetime-picker/test/__snapshots__/demo.spec.js.snap b/src/datetime-picker/test/__snapshots__/demo.spec.js.snap index 30a574b09..39071a4ab 100644 --- a/src/datetime-picker/test/__snapshots__/demo.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/demo.spec.js.snap @@ -8,9 +8,9 @@ exports[`renders demo correctly 1`] = `
                                  选择年月日
                                  -
                                  +
                                  -
                                    +
                                    • 2020
                                    • @@ -32,7 +32,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01
                                    • @@ -72,7 +72,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01
                                    • @@ -168,7 +168,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -180,9 +180,9 @@ exports[`renders demo correctly 1`] = `
                                  选择年月
                                  -
                                  +
                                  -
                                    +
                                    • 2020年
                                    • @@ -204,7 +204,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01月
                                    • @@ -243,7 +243,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -255,9 +255,9 @@ exports[`renders demo correctly 1`] = `
                                  选择月日
                                  -
                                  +
                                  -
                                    +
                                    • 01月
                                    • @@ -297,7 +297,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01日
                                    • @@ -393,7 +393,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -405,9 +405,9 @@ exports[`renders demo correctly 1`] = `
                                  选择时间
                                  -
                                  +
                                  -
                                    +
                                    • 10
                                    • @@ -444,7 +444,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -627,7 +627,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -639,9 +639,9 @@ exports[`renders demo correctly 1`] = `
                                  选择完整时间
                                  -
                                  +
                                  -
                                    +
                                    • 2020
                                    • @@ -663,7 +663,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01
                                    • @@ -703,7 +703,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01
                                    • @@ -800,7 +800,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -876,7 +876,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -1059,7 +1059,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -1071,9 +1071,9 @@ exports[`renders demo correctly 1`] = `
                                  选择年月日小时
                                  -
                                  +
                                  -
                                    +
                                    • 2020
                                    • @@ -1095,7 +1095,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01
                                    • @@ -1135,7 +1135,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01
                                    • @@ -1232,7 +1232,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -1307,7 +1307,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -1319,9 +1319,9 @@ exports[`renders demo correctly 1`] = `
                                  选项过滤器
                                  -
                                  +
                                  -
                                    +
                                    • 00
                                    • @@ -1397,7 +1397,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -1436,7 +1436,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -1448,9 +1448,9 @@ exports[`renders demo correctly 1`] = `
                                  自定义列排序
                                  -
                                  +
                                  -
                                    +
                                    • 01月
                                    • @@ -1490,7 +1490,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 01日
                                    • @@ -1587,7 +1587,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 2020年
                                    • @@ -1608,7 +1608,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  diff --git a/src/datetime-picker/test/__snapshots__/time-picker.spec.js.snap b/src/datetime-picker/test/__snapshots__/time-picker.spec.js.snap index ec25eb174..ec66b33e1 100644 --- a/src/datetime-picker/test/__snapshots__/time-picker.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/time-picker.spec.js.snap @@ -4,9 +4,9 @@ exports[`filter prop 1`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 00
                                    • @@ -25,7 +25,7 @@ exports[`filter prop 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -46,7 +46,7 @@ exports[`filter prop 1`] = `
                                  -
                                  +
                                  @@ -57,9 +57,9 @@ exports[`format initial value 1`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 22
                                    • @@ -69,7 +69,7 @@ exports[`format initial value 1`] = `
                                  -
                                    +
                                    • 58
                                    • @@ -78,7 +78,7 @@ exports[`format initial value 1`] = `
                                  -
                                  +
                                  @@ -89,9 +89,9 @@ exports[`formatter prop 1`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 00 hour
                                    • @@ -110,7 +110,7 @@ exports[`formatter prop 1`] = `
                                  -
                                    +
                                    • 00 minute
                                    • @@ -131,7 +131,7 @@ exports[`formatter prop 1`] = `
                                  -
                                  +
                                  @@ -142,9 +142,9 @@ exports[`max-hour & max-minute 1`] = `
                                  -
                                  +
                                  -
                                    +
                                    • 00
                                    • @@ -157,7 +157,7 @@ exports[`max-hour & max-minute 1`] = `
                                  -
                                    +
                                    • 00
                                    • @@ -169,7 +169,7 @@ exports[`max-hour & max-minute 1`] = `
                                  -
                                  +
                                  diff --git a/src/picker/README.md b/src/picker/README.md index d6da938eb..619598f14 100644 --- a/src/picker/README.md +++ b/src/picker/README.md @@ -253,7 +253,7 @@ export default { | allow-html `v2.1.8` | Whether to allow HTML in option text | _boolean_ | `true` | | default-index | Default value index of single column picker | _number \| string_ | `0` | | item-height `v2.8.6` | Option height, supports `px` `vw` `rem` unit, default `px` | _number \| string_ | `44` | -| visible-item-count | Count of visible columns | _number \| string_ | `5` | +| visible-item-count | Count of visible columns | _number \| string_ | `6` | | swipe-duration `v2.2.10` | Duration of the momentum animation,unit `ms` | _number \| string_ | `1000` | ### Events diff --git a/src/picker/README.zh-CN.md b/src/picker/README.zh-CN.md index 8ba6d01a5..f647f48c4 100644 --- a/src/picker/README.zh-CN.md +++ b/src/picker/README.zh-CN.md @@ -276,7 +276,7 @@ export default { | allow-html `v2.1.8` | 是否允许选项内容中渲染 HTML | _boolean_ | `true` | | default-index | 单列选择时,默认选中项的索引 | _number \| string_ | `0` | | item-height `v2.8.6` | 选项高度,支持 `px` `vw` `rem` 单位,默认 `px` | _number \| string_ | `44` | -| visible-item-count | 可见的选项个数 | _number \| string_ | `5` | +| visible-item-count | 可见的选项个数 | _number \| string_ | `6` | | swipe-duration `v2.2.10` | 快速滑动时惯性滚动的时长,单位 `ms` | _number \| string_ | `1000` | ### Events diff --git a/src/picker/shared.ts b/src/picker/shared.ts index 9df9467d7..7736234a5 100644 --- a/src/picker/shared.ts +++ b/src/picker/shared.ts @@ -23,7 +23,7 @@ export const pickerProps = { }, visibleItemCount: { type: [Number, String], - default: 5, + default: 6, }, swipeDuration: { type: [Number, String], diff --git a/src/picker/test/__snapshots__/demo.spec.js.snap b/src/picker/test/__snapshots__/demo.spec.js.snap index ef31702d1..44490e4d6 100644 --- a/src/picker/test/__snapshots__/demo.spec.js.snap +++ b/src/picker/test/__snapshots__/demo.spec.js.snap @@ -8,9 +8,9 @@ exports[`renders demo correctly 1`] = `
                                  标题
                                  -
                                  +
                                  -
                                    +
                                    • 杭州
                                    • @@ -28,7 +28,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -40,9 +40,9 @@ exports[`renders demo correctly 1`] = `
                                  标题
                                  -
                                  +
                                  -
                                    +
                                    • 杭州
                                    • @@ -60,7 +60,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -72,9 +72,9 @@ exports[`renders demo correctly 1`] = `
                                  标题
                                  -
                                  +
                                  -
                                    +
                                    • 周一
                                    • @@ -93,7 +93,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 上午
                                    • @@ -105,7 +105,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -117,9 +117,9 @@ exports[`renders demo correctly 1`] = `
                                  标题
                                  -
                                  +
                                  -
                                    +
                                    • 浙江
                                    • @@ -129,7 +129,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 杭州
                                    • @@ -139,7 +139,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 西湖区
                                    • @@ -148,7 +148,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -160,9 +160,9 @@ exports[`renders demo correctly 1`] = `
                                  标题
                                  -
                                  +
                                  -
                                    +
                                    • 杭州
                                    • @@ -174,7 +174,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -186,9 +186,9 @@ exports[`renders demo correctly 1`] = `
                                  标题
                                  -
                                  +
                                  -
                                    +
                                    • 浙江
                                    • @@ -198,7 +198,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 杭州
                                    • @@ -216,7 +216,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  @@ -228,9 +228,9 @@ exports[`renders demo correctly 1`] = `
                                  标题
                                  -
                                  +
                                  -
                                    +
                                    • 浙江
                                    • @@ -240,7 +240,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                    +
                                    • 杭州
                                    • @@ -258,7 +258,7 @@ exports[`renders demo correctly 1`] = `
                                  -
                                  +
                                  diff --git a/src/picker/test/__snapshots__/index.spec.js.snap b/src/picker/test/__snapshots__/index.spec.js.snap index fe9515293..24c30aa69 100644 --- a/src/picker/test/__snapshots__/index.spec.js.snap +++ b/src/picker/test/__snapshots__/index.spec.js.snap @@ -59,11 +59,11 @@ exports[`column watch default index 2`] = ` exports[`columns-top、columns-bottom prop 1`] = `
                                  - Custom Columns Top
                                  + Custom Columns Top
                                  -
                                    +
                                      -
                                      +
                                      Custom Columns Bottom @@ -73,15 +73,15 @@ exports[`columns-top、columns-bottom prop 1`] = ` exports[`not allow html 1`] = `
                                      -
                                      +
                                      -
                                        +
                                        • <div>option</div>
                                      -
                                      +
                                      @@ -92,11 +92,11 @@ exports[`render title slot 1`] = `
                                      Custom title
                                      -
                                      +
                                      -
                                        +
                                          -
                                          +
                                          @@ -106,9 +106,9 @@ exports[`render title slot 1`] = ` exports[`set rem item-height 1`] = `
                                          -
                                          +
                                          -
                                            +
                                            • 1990
                                            • @@ -117,7 +117,7 @@ exports[`set rem item-height 1`] = `
                                          -
                                          +
                                          @@ -128,11 +128,11 @@ exports[`toolbar-position prop 1`] = `
                                          -
                                          +
                                          -
                                            +
                                              -
                                              +