peaf(checkbox): 重构 checkbox 逻辑

This commit is contained in:
就眠仪式
2021-10-12 16:22:26 +08:00
parent 6e9c4f3153
commit c89c04839c
4 changed files with 114 additions and 15 deletions

View File

@@ -273,6 +273,12 @@ export default {
subTitle: 'transfer',
path: '/zh-CN/components/transfer',
},
{
id: 32,
title: '复选框',
subTitle: 'checkbox',
path: '/zh-CN/components/checkbox',
},
]
const selected = ref(1)

View File

@@ -174,6 +174,10 @@ const zhCN = [
path: '/zh-CN/components/transfer',
component: () => import('../../docs/zh-CN/components/transfer.md'),
meta: { title: '穿梭框' },
},{
path: '/zh-CN/components/checkbox',
component: () => import('../../docs/zh-CN/components/checkbox.md'),
meta: { title: '复选框' },
},
],
},