diff --git a/docs/docs/zh-CN/components/checkbox.md b/docs/docs/zh-CN/components/checkbox.md new file mode 100644 index 00000000..7ed0a6dd --- /dev/null +++ b/docs/docs/zh-CN/components/checkbox.md @@ -0,0 +1,85 @@ + + +::: demo + + + + + +::: + +::: demo + + + + + +::: + + + +::: demo + + + + + +::: + +| | | | | +| -------- | ---- | ----------------------- | --- | +| xs | 尺寸 | 超小屏幕 (手机<768px) | 12 | \ No newline at end of file diff --git a/docs/src/layouts/Layout.vue b/docs/src/layouts/Layout.vue index 6945e964..b0c9482a 100644 --- a/docs/src/layouts/Layout.vue +++ b/docs/src/layouts/Layout.vue @@ -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) diff --git a/docs/src/router/zh-CN.ts b/docs/src/router/zh-CN.ts index f97ff7fa..5ca02189 100644 --- a/docs/src/router/zh-CN.ts +++ b/docs/src/router/zh-CN.ts @@ -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: '复选框' }, }, ], }, diff --git a/src/module/checkbox/index.vue b/src/module/checkbox/index.vue index 7d7abfcd..8129262b 100644 --- a/src/module/checkbox/index.vue +++ b/src/module/checkbox/index.vue @@ -1,5 +1,5 @@