From b79073635295227180e79501068887c4c776c06c Mon Sep 17 00:00:00 2001 From: BeADre Date: Tue, 15 Jun 2021 09:41:54 +0800 Subject: [PATCH] fix(switch): modify style of example --- .../__tests__/__snapshots__/index.spec.js.snap | 18 +++++++++--------- .../varlet-ui/src/switch/example/index.vue | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/varlet-ui/src/switch/__tests__/__snapshots__/index.spec.js.snap b/packages/varlet-ui/src/switch/__tests__/__snapshots__/index.spec.js.snap index 93108e72e14..859127c59bf 100644 --- a/packages/varlet-ui/src/switch/__tests__/__snapshots__/index.spec.js.snap +++ b/packages/varlet-ui/src/switch/__tests__/__snapshots__/index.spec.js.snap @@ -87,9 +87,9 @@ exports[`test switch example 1`] = `
-
-
-
+
+
+
@@ -100,9 +100,9 @@ exports[`test switch example 1`] = `
-
-
-
+
+
+
@@ -113,9 +113,9 @@ exports[`test switch example 1`] = `
-
-
-
+
+
+
diff --git a/packages/varlet-ui/src/switch/example/index.vue b/packages/varlet-ui/src/switch/example/index.vue index 307a0cd3b09..e4ba97193ce 100644 --- a/packages/varlet-ui/src/switch/example/index.vue +++ b/packages/varlet-ui/src/switch/example/index.vue @@ -16,7 +16,7 @@ {{ pack.customColor }}
- +
@@ -66,7 +66,7 @@ export default { const values = reactive({ value: true, value1: true, - value2: false, + value2: true, value3: true, value4: true, })