I would like to ask your elders, how can I print the data of the database through vue-markdown?

seniors, I have a problem that I can"t solve. I hope you can take the time to answer it.

I want to print the data from the database through vue-markdown, but after going through it with v-for, I get undefined. Also used v-text instead of {{}} to output, the result is the same, how to write in order to successfully print data with vue-markdown? Very grateful?

the following is the above code

  <vue-markdown v-for="item in dataGroup">
    <vue-markdown>{{item.title}}</vue-markdown>
    <vue-markdown>{{item.content}}</vue-markdown>
  </vue-markdown>

is the dataGroup taken from the database? Could it be because of the asynchronous problem, you can add vMufff = "dataGroup" to try.


you should first check whether there is data in dataGroup

.
Menu