diff --git a/examples/api/input.js b/examples/api/input.js index a958cbec3..39e90c714 100644 --- a/examples/api/input.js +++ b/examples/api/input.js @@ -218,11 +218,30 @@ const apis = [ }, { name: 'start-week', - desc: '只对 type=week 有效,设置起始周', + disabled: true, + desc: '即将废弃,请使用 start-day', version: '', type: 'number | string', enum: '0, 1, 2, 3, 4, 5, 6', - defVal: '默认 1,继承 setup.input.startWeek', + defVal: '', + list: [] + }, + { + name: 'start-day', + desc: '设置每周的起始日期是星期几', + version: '3.3.2', + type: 'number | string', + enum: '0, 1, 2, 3, 4, 5, 6', + defVal: '默认 1,继承 setup.input.startDay', + list: [] + }, + { + name: 'select-day', + desc: '只对 type=week 有效,设置周视图选中后返回星期几', + version: '3.3.2', + type: 'number | string', + enum: '0, 1, 2, 3, 4, 5, 6', + defVal: '默认 1,继承 setup.input.selectDay', list: [] }, { diff --git a/examples/views/input/Input.vue b/examples/views/input/Input.vue index 3339d71cc..2474c41a1 100644 --- a/examples/views/input/Input.vue +++ b/examples/views/input/Input.vue @@ -3,7 +3,7 @@

{{ $t('app.aside.nav.input') }}

输入框、选择器,查看 API
- (注:输入组件只能是字符串类型,其他类型谨慎使用) + (注:输入组件输出为字符串类型)

diff --git a/examples/views/pulldown/Pulldown.vue b/examples/views/pulldown/Pulldown.vue index 6cdbb89fa..9202470f8 100644 --- a/examples/views/pulldown/Pulldown.vue +++ b/examples/views/pulldown/Pulldown.vue @@ -58,6 +58,7 @@