diff --git a/antdv-demo b/antdv-demo index dbe3af5b2..c18fda17a 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit dbe3af5b20e6599a78a9a7fba7c13258b36646a7 +Subproject commit c18fda17a11855f340d0f74de1d2f7b8ef591888 diff --git a/components/switch/index.jsx b/components/switch/index.jsx index 0af473e79..f7ffa5a88 100644 --- a/components/switch/index.jsx +++ b/components/switch/index.jsx @@ -73,12 +73,8 @@ const Switch = { class: classes, ref: this.saveRef, }; - - return ( - - - - ); + const comp = ; + return {comp}; }, };