From f5995aec0657a7bde8dcd53cad8be1a2c750bd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Thu, 13 Oct 2022 09:22:31 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/switch/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/component/src/component/switch/index.vue b/package/component/src/component/switch/index.vue index b38d4257..a546c69f 100644 --- a/package/component/src/component/switch/index.vue +++ b/package/component/src/component/switch/index.vue @@ -75,7 +75,9 @@ const styles = computed(() => { 'layui-switch-disabled': disabled, }" > - {{ isActive == true ? onswitchText : unswitchText }} + {{ + isActive == true ? onswitchText : unswitchText + }}