From 1e61215b48e59e94c1ed98e4ef956227d689d6bc Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Mon, 06 Nov 2023 08:48:39 +0800 Subject: [PATCH] fix:小程序订阅消息 --- uni_modules/uview-ui/components/u-switch/props.js | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-switch/props.js b/uni_modules/uview-ui/components/u-switch/props.js new file mode 100644 index 0000000..4eef963 --- /dev/null +++ b/uni_modules/uview-ui/components/u-switch/props.js @@ -0,0 +1,54 @@ +export default { + props: { + // ������������������������ + loading: { + type: Boolean, + default: uni.$u.props.switch.loading + }, + // ��������������������� + disabled: { + type: Boolean, + default: uni.$u.props.switch.disabled + }, + // ���������������������px + size: { + type: [String, Number], + default: uni.$u.props.switch.size + }, + // ������������������������ + activeColor: { + type: String, + default: uni.$u.props.switch.activeColor + }, + // ������������������������ + inactiveColor: { + type: String, + default: uni.$u.props.switch.inactiveColor + }, + // ������v-model������������������ + value: { + type: [Boolean, String, Number], + default: uni.$u.props.switch.value + }, + // switch��������������� + activeValue: { + type: [String, Number, Boolean], + default: uni.$u.props.switch.activeValue + }, + // switch��������������� + inactiveValue: { + type: [String, Number, Boolean], + default: uni.$u.props.switch.inactiveValue + }, + // ��������������������������������������������������������������� + asyncChange: { + type: Boolean, + default: uni.$u.props.switch.asyncChange + }, + // ��������������������������� + space: { + type: [String, Number], + default: uni.$u.props.switch.space + } + } +} -- Gitblit v1.8.0