forked from opentiny/tiny-vue
61 lines
1.3 KiB
JavaScript
61 lines
1.3 KiB
JavaScript
export default {
|
|
mode: ['mobile-first'],
|
|
apis: [
|
|
{
|
|
name: 'time-picker-mobile',
|
|
type: 'component',
|
|
props: [
|
|
{
|
|
name: 'v-model',
|
|
type: 'Array',
|
|
defaultValue: '',
|
|
desc: {
|
|
'zh-CN': '绑定值',
|
|
'en-US': ''
|
|
},
|
|
mode: ['mobile-first'],
|
|
mfDemo: ''
|
|
},
|
|
{
|
|
name: 'visible',
|
|
type: 'Boolean',
|
|
defaultValue: '',
|
|
desc: {
|
|
'zh-CN': '是否弹出面板',
|
|
'en-US': ''
|
|
},
|
|
mode: ['mobile-first'],
|
|
mfDemo: ''
|
|
}
|
|
],
|
|
events: [
|
|
{
|
|
name: 'update:visible',
|
|
type: '',
|
|
defaultValue: '',
|
|
desc: {
|
|
'zh-CN': '显示或隐藏面板时触发',
|
|
'en-US': ''
|
|
},
|
|
mode: ['mobile-first'],
|
|
mfDemo: ''
|
|
}
|
|
],
|
|
methods: [],
|
|
slots: [
|
|
{
|
|
name: 'default',
|
|
type: '',
|
|
defaultValue: '',
|
|
desc: {
|
|
'zh-CN': '组件默认插槽,设置 type 为 action 启用操作列表模式会提供参数 data 列表项和 index 列表索引',
|
|
'en-US': ''
|
|
},
|
|
mode: ['mobile-first'],
|
|
mfDemo: ''
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|