perf(switch): 新增 active-text inactive-text disabled 属性

This commit is contained in:
就眠仪式
2021-10-13 16:22:53 +08:00
parent 75d51b4ff8
commit 6f3a53f3e9
5 changed files with 132 additions and 8 deletions

View File

@@ -293,6 +293,11 @@ export default {
title: '文本域',
subTitle: 'textarea',
path: '/zh-CN/components/textarea',
},{
id: 36,
title: '开关',
subTitle: 'switch',
path: '/zh-CN/components/switch',
}
]

View File

@@ -25,6 +25,6 @@ const plugins = [
.use(...createContainer('field', '描述信息'))
},
}),
]
] as any
export default plugins

View File

@@ -190,6 +190,10 @@ const zhCN = [
path: '/zh-CN/components/textarea',
component: () => import('../../docs/zh-CN/components/textarea.md'),
meta: { title: '文本域' },
},{
path: '/zh-CN/components/switch',
component: () => import('../../docs/zh-CN/components/switch.md'),
meta: { title: '开关' },
},
],
},