docs: update markdown code block
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
### Install
|
||||
|
||||
``` javascript
|
||||
```js
|
||||
import Vue from 'vue';
|
||||
import { ContactCard, ContactList, ContactEdit } from 'vant';
|
||||
|
||||
@@ -46,7 +46,7 @@ Vue.use(ContactEdit);
|
||||
</van-popup>
|
||||
```
|
||||
|
||||
``` javascript
|
||||
```js
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
### 引入
|
||||
|
||||
``` javascript
|
||||
```js
|
||||
import Vue from 'vue';
|
||||
import { ContactCard, ContactList, ContactEdit } from 'vant';
|
||||
|
||||
@@ -50,7 +50,7 @@ Vue.use(ContactEdit);
|
||||
</van-popup>
|
||||
```
|
||||
|
||||
``` javascript
|
||||
```js
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user