From afb9f5041b0d4c117c3b5c578ff4c4c45b136748 Mon Sep 17 00:00:00 2001 From: yutent Date: Sat, 22 Apr 2023 23:13:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/docset/ui/icons.md | 13 ++++++++----- src/pages/@wcui/docs/app.vue | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/public/docset/ui/icons.md b/public/docset/ui/icons.md index 0fff07e..c1df8ed 100644 --- a/public/docset/ui/icons.md +++ b/public/docset/ui/icons.md @@ -13,13 +13,16 @@ ### 使用 -```html + + +import '//jscdn.ink/@bd/ui/latest/space/index.js' +import '//jscdn.ink/@bd/ui/latest/icon/index.js' + + -``` + + -
- -
### 尺寸 `size="xxxl"`, `size="xxl"`, `size="xl"`, `size="l"`, `size="m"`, `size="s"`, 连同默认尺寸在内, 5种预设规格。 diff --git a/src/pages/@wcui/docs/app.vue b/src/pages/@wcui/docs/app.vue index 8f6fb62..5f4d263 100644 --- a/src/pages/@wcui/docs/app.vue +++ b/src/pages/@wcui/docs/app.vue @@ -27,7 +27,7 @@ export default { }, mounted() { - let key = location.search.slice(1) + let key = location.search.slice(1) || 'logs' this.nav = key fetch(`/docset/ui/${key}.md`)