diff --git a/docs/docs/zh-CN/components/button.md b/docs/docs/zh-CN/components/button.md index bc434aaf..bbf2e7c4 100644 --- a/docs/docs/zh-CN/components/button.md +++ b/docs/docs/zh-CN/components/button.md @@ -199,11 +199,7 @@ export default { ::: -::: field button attributes - -::: - -| | | | +| Name | Description | Accepted Values | | ------ | ------ | --------------------------------------------- | | type | 主题 | `primary` `normal` `warm` `danger` `disabled` | | size | 尺寸 | `lg` `sm` `xs` | diff --git a/docs/docs/zh-CN/components/checkbox.md b/docs/docs/zh-CN/components/checkbox.md index 94931e75..514a4536 100644 --- a/docs/docs/zh-CN/components/checkbox.md +++ b/docs/docs/zh-CN/components/checkbox.md @@ -89,10 +89,10 @@ import { ref } from 'vue' export default { setup() { - const disabled = ref(false) + const disabled = ref(true) return { - disabled + disabled } } } diff --git a/docs/docs/zh-CN/components/icon.md b/docs/docs/zh-CN/components/icon.md index 1284a335..3b903b36 100644 --- a/docs/docs/zh-CN/components/icon.md +++ b/docs/docs/zh-CN/components/icon.md @@ -1047,11 +1047,7 @@ export default { ::: -::: field icon attributes - -::: - -| | | | +| Name | Description | Default Value | | ---- | ---- | ----------------- | | type | 图标 | `layui-icon-home` | | prefix | 前缀 | `layui-icon` | diff --git a/docs/src/styles/markdown.css b/docs/src/styles/markdown.css index 3d4742ea..9282180a 100644 --- a/docs/src/styles/markdown.css +++ b/docs/src/styles/markdown.css @@ -277,3 +277,7 @@ table td { .anim .site-doc-icon li .code { white-space: nowrap; } + +.markdown-body th { + text-align: left; +} \ No newline at end of file diff --git a/src/module/checkbox/index.vue b/src/module/checkbox/index.vue index 40de264a..5fdda446 100644 --- a/src/module/checkbox/index.vue +++ b/src/module/checkbox/index.vue @@ -2,18 +2,11 @@
@@ -31,7 +24,7 @@ const props = skin?: string label?: string checked?: Boolean - disabled?: boolean + disabled?: Boolean }>() const customChecked = ref(false)