iter(g216): 时间选择支持清空
This commit is contained in:
+1
-1
@@ -1066,7 +1066,7 @@ const content = h(
|
||||
h(
|
||||
'div',
|
||||
{ class: 'row' },
|
||||
timePicker({ value: atTime, minuteStep: 15, onChange: (t) => toast.success(`定在 ${t}`) }),
|
||||
timePicker({ value: atTime, minuteStep: 15, clearable: true, onChange: (t) => toast.success(t ? `定在 ${t}` : '已清空时间') }),
|
||||
timePicker({ placeholder: '禁用态', disabled: true }),
|
||||
h('span', { class: 'out' }, () => `当前时间:${atTime() || '未选'}`),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user