docs(grid): 更改栅格组件文档的用例 (#875)

This commit is contained in:
songjianet 2021-08-15 22:06:12 +08:00 committed by GitHub
parent f07530a7cd
commit 42af26485f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 7 deletions

View File

@ -38,9 +38,9 @@ Collapsing works in responsive layout.
```
```js
import { ref } from 'vue'
import { defineComponent, ref } from 'vue'
export default {
export default defineComponent({
setup () {
return {
gridCollapsed: ref(false),
@ -49,7 +49,7 @@ export default {
showSuffix: ref(true)
}
}
}
})
```
```css

View File

@ -38,9 +38,9 @@
```
```js
import { ref } from 'vue'
import { defineComponent, ref } from 'vue'
export default {
export default defineComponent({
setup () {
return {
gridCollapsed: ref(false),
@ -49,7 +49,7 @@ export default {
showSuffix: ref(true)
}
}
}
})
```
```css

View File

@ -10,7 +10,6 @@ gap
offset
responsive
collapse
grid-basic-debug
```
## Props