From da25434b85fc5b4321c429bf95e719d00ec395bb Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 11 Jan 2024 16:21:16 +0800 Subject: [PATCH] 定位优化 --- uni_modules/uview-ui/components/u-form/props.js | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-form/props.js b/uni_modules/uview-ui/components/u-form/props.js new file mode 100644 index 0000000..f2a629c --- /dev/null +++ b/uni_modules/uview-ui/components/u-form/props.js @@ -0,0 +1,45 @@ +export default { + props: { + // ������form������������������������������ + model: { + type: Object, + default: uni.$u.props.form.model + }, + // ������������ + rules: { + type: [Object, Function, Array], + default: uni.$u.props.form.rules + }, + // ������������������������������message-���������������toast-������toast������ + // border-bottom-������������������������none-��������� + errorType: { + type: String, + default: uni.$u.props.form.errorType + }, + // ��������������������������������������� + borderBottom: { + type: Boolean, + default: uni.$u.props.form.borderBottom + }, + // label������������left-���������top-������ + labelPosition: { + type: String, + default: uni.$u.props.form.labelPosition + }, + // label������������������px + labelWidth: { + type: [String, Number], + default: uni.$u.props.form.labelWidth + }, + // lable��������������������� + labelAlign: { + type: String, + default: uni.$u.props.form.labelAlign + }, + // lable������������������������ + labelStyle: { + type: Object, + default: uni.$u.props.form.labelStyle + } + } +} -- Gitblit v1.8.0