How to use JSX? in the render function of iview table component

the relevant plug-ins for configuring babel have been installed, but if you use JSX in the table component of iview, you still have an error, ask for help!

Jan.10,2022

you need to see the document ide/render-function.html" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide.


you need to install these plug-ins first
babel-plugin-syntax-jsx
babel-plugin-transform-vue-jsx
babel-helper-vue-jsx-merge-props
babel-preset-env
reference address: https://github.com/vuejs/babe.
to facilitate the use of v-model in JSX components also need to install the following Add
babel-plugin-jsx-v-model
and then you can write JSX very Happy

clipboard.png

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