vue-markdown
vue-markdown copied to clipboard
TypeError: Cannot read property 'replace' of null
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

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