How does vue render implement the v-for function using JSX?

now use the Notice component of iView as a floating layer for notifications. The content of this panel is required to contain the data in the list requested by the background. There is no way to use the v-for command with JSX, so how to render the list here.

The

code is as follows:
export default ({

    data() {
        return {
            noticeList: []//list
        }
    },
    methods: {
        showInformList() {
            this.$Notice.open({
                title:"",
                desc:"",
                duration:0,
                render(){
                    return (
                        <div>
                            <ul>
                                **<li v-for =(item,index) in noticeList> {{item.name}}</li>**
                                //v-forli
                            </ul>
                        </div>
                    )
                }
            })
        }
  }

})

the effect you want to achieve is as follows:

clipboard.png

Jan.14,2022

  

use map ()

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