修复默认页面
parent
90e987a5ba
commit
afb9f5041b
|
@ -13,13 +13,16 @@
|
|||
|
||||
### 使用
|
||||
|
||||
```html
|
||||
<wc-sandbox>
|
||||
<wc-lang slot="javascript">
|
||||
import '//jscdn.ink/@bd/ui/latest/space/index.js'
|
||||
import '//jscdn.ink/@bd/ui/latest/icon/index.js'
|
||||
</wc-lang>
|
||||
<wc-lang slot="html">
|
||||
<wc-icon name="home"></wc-icon>
|
||||
```
|
||||
</wc-lang>
|
||||
</wc-sandbox>
|
||||
|
||||
<section class="flex-free">
|
||||
<wc-icon name="home"></wc-icon>
|
||||
</section>
|
||||
|
||||
### 尺寸
|
||||
`size="xxxl"`, `size="xxl"`, `size="xl"`, `size="l"`, `size="m"`, `size="s"`, 连同默认尺寸在内, 5种预设规格。
|
||||
|
|
|
@ -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`)
|
||||
|
|
Loading…
Reference in New Issue