From c27e413f71c4beb1318237fedf585770702fe3a4 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 13 Mar 2025 10:13:57 +0800 Subject: [PATCH] 知识库文档,添加表单组件文档 --- forms/input/CInput.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/forms/input/CInput.vue b/forms/input/CInput.vue index 5d01979..ef6e805 100644 --- a/forms/input/CInput.vue +++ b/forms/input/CInput.vue @@ -6,7 +6,7 @@ <template> <view class="c-input" - :class="[unit?'c-input-unit':'', readOnly ? 'read-only':'']" + :class="[unit?'c-input-unit':'', readOnly?'read-only':'']" > <AtInput :name="itemRes.name" @@ -16,6 +16,7 @@ :required="itemRes.required" :error="itemRes.error" :cursorSpacing="0" + :cursor="-1" :value="value" :onChange="evt => handleChange(evt)" > @@ -56,7 +57,7 @@ value() { return ((this.itemRes.formData[this.itemRes.name] || '') + '').replace( /[\n\r]/g, - '' + '', ); }, }, -- Gitblit v1.9.1