From d070be113b72e1f29eb7fefe5a020e7c0b78ce26 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 29 Dec 2017 16:51:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/button/button.vue | 90 ++++++++++++++++++++++-------- components/button/demo/loading.vue | 8 +-- 2 files changed, 71 insertions(+), 27 deletions(-) diff --git a/components/button/button.vue b/components/button/button.vue index ee249d272..1ce57def5 100644 --- a/components/button/button.vue +++ b/components/button/button.vue @@ -1,15 +1,7 @@ - diff --git a/components/button/demo/loading.vue b/components/button/demo/loading.vue index 842bdf260..5e0ec2136 100644 --- a/components/button/demo/loading.vue +++ b/components/button/demo/loading.vue @@ -7,11 +7,11 @@ Loading
- - Click me! + + mouseenter me! - Click me! + 延迟1s
@@ -32,7 +32,7 @@ export default { this.loading = true }, enterIconLoading () { - this.iconLoading = true + this.iconLoading = { delay: 1000 } }, }, components: {