From 0624a0e6ae3dc366f020c7be531ace6a099a664b Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 08 Jul 2021 17:18:10 +0800 Subject: [PATCH] 调整表单组件样式,实现提交按钮底部固定显示,实现文本域组件按行高度 --- forms/input/CInput.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/forms/input/CInput.vue b/forms/input/CInput.vue index 67e15b8..c6f16c8 100644 --- a/forms/input/CInput.vue +++ b/forms/input/CInput.vue @@ -1,5 +1,5 @@ /** - * CInput + * CInput - 表单项,文本输入框 * @author Tevin */ @@ -28,9 +28,12 @@ AtInput, }, props: { - type: String, - placeholder: String, + // 表单数据资源(表单组件内部机制专用) itemRes: Object, + // 输入框类型,text、number、password、phone、idcard、digit + type: String, + // 占位提示 + placeholder: String, }, mounted() {}, }; -- Gitblit v1.9.1