How to convert a string obtained by v-for to an array by vue v-for




one character per span package

how to display FDY in a span and semi-light in a span.

Mar.10,2021

<span v-for="(item,index) in item.name.split(',')" :key="index">{{item}}</span>

there are many code implementations, and ideas are the main thing to figure out what the v-for loop type is. Item.name is obviously a string, so you have to find a way to convert it to an "array" and then loop

.
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-1e5fc83-44bae.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-1e5fc83-44bae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?