From 1c70cf6ead56f0c8b35d95bf6f432c3f4b3367ba Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 31 Jan 2019 10:13:54 +0800 Subject: [PATCH] [improvement] Switch: jsx (#2654) --- packages/switch/{index.vue => index.js} | 57 +++++++++++-------------- 1 file changed, 25 insertions(+), 32 deletions(-) rename packages/switch/{index.vue => index.js} (51%) diff --git a/packages/switch/index.vue b/packages/switch/index.js similarity index 51% rename from packages/switch/index.vue rename to packages/switch/index.js index e0dfcab14..e6c033fda 100644 --- a/packages/switch/index.vue +++ b/packages/switch/index.js @@ -1,27 +1,9 @@ - +import { use } from '../utils'; +import Loading from '../loading'; -