From 930ce7ec202e43c90756ad2090744e761e8772e9 Mon Sep 17 00:00:00 2001 From: CCherry07 <2405693142@qq.com> Date: Sat, 6 May 2023 23:05:33 +0800 Subject: [PATCH 1/4] feat(button): demo space --- components/button/demo/basic.vue | 12 +-- components/button/demo/block.vue | 12 +-- components/button/demo/button-group.vue | 1 - components/button/demo/danger.vue | 4 +- components/button/demo/disabled.vue | 67 +++++++++------- components/button/demo/ghost.vue | 12 +-- components/button/demo/icon.vue | 100 ++++++------------------ components/button/demo/loading.vue | 36 +++++---- components/button/demo/multiple.vue | 32 ++++---- components/button/demo/size.vue | 84 ++++++++++---------- 10 files changed, 165 insertions(+), 195 deletions(-) diff --git a/components/button/demo/basic.vue b/components/button/demo/basic.vue index ff7893f34b..c42c6105b1 100644 --- a/components/button/demo/basic.vue +++ b/components/button/demo/basic.vue @@ -17,9 +17,11 @@ There are `primary` button, `default` button, `dashed` button, `text` button and diff --git a/components/button/demo/block.vue b/components/button/demo/block.vue index 1d9a65a65c..888e36d475 100644 --- a/components/button/demo/block.vue +++ b/components/button/demo/block.vue @@ -16,9 +16,11 @@ title: diff --git a/components/button/demo/button-group.vue b/components/button/demo/button-group.vue index d142bdbd81..8cfffbce17 100644 --- a/components/button/demo/button-group.vue +++ b/components/button/demo/button-group.vue @@ -34,7 +34,6 @@ Debug usage M R -

With Icon

diff --git a/components/button/demo/danger.vue b/components/button/demo/danger.vue index afbcead112..82bed2089c 100644 --- a/components/button/demo/danger.vue +++ b/components/button/demo/danger.vue @@ -17,11 +17,11 @@ danger is a property of button after antd 2.2.0. diff --git a/components/button/demo/disabled.vue b/components/button/demo/disabled.vue index 6b3e09e683..88a7e3ad0c 100644 --- a/components/button/demo/disabled.vue +++ b/components/button/demo/disabled.vue @@ -16,33 +16,42 @@ To mark a button as disabled, add the `disabled` property to the `Button`. diff --git a/components/button/demo/ghost.vue b/components/button/demo/ghost.vue index c36838fe35..9637d784f8 100644 --- a/components/button/demo/ghost.vue +++ b/components/button/demo/ghost.vue @@ -17,10 +17,12 @@ title: diff --git a/components/button/demo/icon.vue b/components/button/demo/icon.vue index f820cb47de..b0a702d59c 100644 --- a/components/button/demo/icon.vue +++ b/components/button/demo/icon.vue @@ -20,82 +20,32 @@ If you want specific control over the positioning and placement of the `Icon`, t diff --git a/components/button/demo/loading.vue b/components/button/demo/loading.vue index 750337ddc2..96d3ce9850 100644 --- a/components/button/demo/loading.vue +++ b/components/button/demo/loading.vue @@ -16,23 +16,25 @@ A loading indicator can be added to a button by setting the `loading` property o