docs: make document more compact
This commit is contained in:
@@ -15,7 +15,6 @@ Vue.use(Overlay);
|
||||
|
||||
```html
|
||||
<van-button type="primary" text="Show Overlay" @click="show = true" />
|
||||
|
||||
<van-overlay :show="show" @click="show = false" />
|
||||
```
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ Vue.use(Overlay);
|
||||
|
||||
```html
|
||||
<van-button type="primary" text="显示遮罩层" @click="show = true" />
|
||||
|
||||
<van-overlay :show="show" @click="show = false" />
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user