refactor(components): 统一组件属性命名并完善文档

- 将 CuteCodeEditor 和 CuteRichTextEditor 的 readOnly 属性改为 readonly
- 为 CuteTextAreaInput 组件添加 value 属性并设为必填
- 为多个组件演示页面的表格列添加固定宽度
- 更新 CuteCodeEditorDemo 和 CuteRichTextEditorDemo 中的 API 文档
- 新增 CuteHorizontalScrollBarDemo 和 CuteTextAreaInputDemo 演示页面
- 重构 CuteOtherDemo 页面移除部分组件演示
- 完善 index.vue 中的组件导入和注册信息
This commit is contained in:
2026-02-04 11:39:57 +08:00
parent 886f2dfcb0
commit cefd212b6e
19 changed files with 199 additions and 66 deletions
@@ -29,20 +29,28 @@ export default {
props: {
disabled: {
type: Boolean,
required: false,
default: false
},
readonly: {
type: Boolean,
required: false,
default: false
},
maxlength: {
type: Number,
required: false,
default: 120
},
value: {
type: String,
required: true,
default: ''
}
},
data() {
return {
content: ''
content: this.value
}
},
methods: {