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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31db2-2ab10.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31db2-2ab10.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?