From 478eecbc0771a48723bab2dbf422472c285f118c Mon Sep 17 00:00:00 2001 From: kooriookami <38392315+kooriookami@users.noreply.github.com> Date: Wed, 13 Jan 2021 21:07:55 -0600 Subject: [PATCH] fix(switch): id of input can't be empty (#1273) remove default value of id props --- packages/switch/src/index.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/switch/src/index.vue b/packages/switch/src/index.vue index 7d8e47da23..f10fc23991 100644 --- a/packages/switch/src/index.vue +++ b/packages/switch/src/index.vue @@ -127,10 +127,7 @@ export default defineComponent({ type: Boolean, default: true, }, - id: { - type: String, - default: '', - }, + id: String, loading:{ type: Boolean, default: false,