Open MyKings opened 5 years ago
Hi,
I found that when I import VueMarkdown and use the \<vue-markdown> tag, vue-markdown will report an error if the json data returned by the api interface is null.
VueMarkdown
detail.vue
json data
error
I am not sure if this is a BUG, so I submitted this issue.
just use v-if to check the property of the data first before rendering the component
v-if
Hi,
I found that when I import
VueMarkdown
and use the \<vue-markdown> tag, vue-markdown will report an error if the json data returned by the api interface is null.detail.vue
json data![33](https://user-images.githubusercontent.com/7788116/58308432-2d01c280-7e34-11e9-99a8-695223d529e8.png)
error
I am not sure if this is a BUG, so I submitted this issue.