perf(checkbox): 新增 disabled 禁用状态
This commit is contained in:
@@ -199,11 +199,7 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
::: field button attributes
|
||||
|
||||
:::
|
||||
|
||||
| | | |
|
||||
| Name | Description | Accepted Values |
|
||||
| ------ | ------ | --------------------------------------------- |
|
||||
| type | 主题 | `primary` `normal` `warm` `danger` `disabled` |
|
||||
| size | 尺寸 | `lg` `sm` `xs` |
|
||||
|
||||
@@ -89,10 +89,10 @@ import { ref } from 'vue'
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
const disabled = ref(false)
|
||||
const disabled = ref(true)
|
||||
|
||||
return {
|
||||
disabled
|
||||
disabled
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1047,11 +1047,7 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
::: field icon attributes
|
||||
|
||||
:::
|
||||
|
||||
| | | |
|
||||
| Name | Description | Default Value |
|
||||
| ---- | ---- | ----------------- |
|
||||
| type | 图标 | `layui-icon-home` |
|
||||
| prefix | 前缀 | `layui-icon` |
|
||||
|
||||
@@ -277,3 +277,7 @@ table td {
|
||||
.anim .site-doc-icon li .code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.markdown-body th {
|
||||
text-align: left;
|
||||
}
|
||||
Reference in New Issue
Block a user