From e1f50cd27a65c3dd8d0358b5807be1e06248bb23 Mon Sep 17 00:00:00 2001
From: liusu <851209312@qq.com>
Date: Tue, 24 Aug 2021 15:34:17 +0800
Subject: [PATCH 1/2] =?UTF-8?q?fix:=201.=E6=96=B0=E5=A2=9Ed-status=20index?=
=?UTF-8?q?.md=20=202.=E4=BF=AE=E6=94=B9=E5=BF=AB=E9=80=9F=E5=BC=80?=
=?UTF-8?q?=E5=A7=8Bindex.md?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sites/components/status/index.md | 26 ++++++++++++++++++++++++++
sites/index.md | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 sites/components/status/index.md
diff --git a/sites/components/status/index.md b/sites/components/status/index.md
new file mode 100644
index 00000000..4f0996af
--- /dev/null
+++ b/sites/components/status/index.md
@@ -0,0 +1,26 @@
+# Status 状态
+
+传达交互结果的组件。
+
+### 何时使用
+
+表示一个任务的执行结果时使用。
+
+### 基本用法
+Success
+Error
+Warning
+Initial
+Waiting
+Running
+Invalid
+
+```html
+Success
+Error
+Warning
+Initial
+Waiting
+Running
+Invalid
+```
\ No newline at end of file
diff --git a/sites/index.md b/sites/index.md
index 3380e069..403f7e8f 100644
--- a/sites/index.md
+++ b/sites/index.md
@@ -33,7 +33,7 @@ main.ts
import DevUI from 'vue-devui'
import 'vue-devui/style.css'
-createApp(App).use(DevUI).mount(#app)
+createApp(App).use(DevUI).mount('#app')
```
### 4. 启动开发调试
--
Gitee
From d3e41c66ec420019edc4ab8ef446a7ded82a8dd5 Mon Sep 17 00:00:00 2001
From: liusuY <851209312@qq.com>
Date: Tue, 24 Aug 2021 16:43:32 +0800
Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dbutton=20=E9=BB=98?=
=?UTF-8?q?=E8=AE=A4=E5=80=BC=E4=B8=BA0=E5=AF=BC=E8=87=B4=E6=92=91?=
=?UTF-8?q?=E4=B8=8D=E5=BC=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
devui/button/src/button.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devui/button/src/button.tsx b/devui/button/src/button.tsx
index 07c74812..aaab4595 100644
--- a/devui/button/src/button.tsx
+++ b/devui/button/src/button.tsx
@@ -44,7 +44,7 @@ export default defineComponent({
},
width: {
type: Number,
- default: 0
+ default: null
},
disabled: {
type: Boolean,
--
Gitee