Is there any method in Vue to dynamically insert Element-ui template tags and parse them normally?

problem description

Vue"s project uses a plug-in that generates html such as * * .add ("< button > a < / button") and also needs to pass in some parameters

.

now you need to insert the Element-ui tag as the generated html, such as * * .add ("< el-button > argvs < / el-button >")

It can be parsed normally after

.

May.29,2021

compile a set of templates dynamically. All I can think of is that with Vue.compile (template) you can learn about vue compilation on the official website.


you can put the dom using element-ui in an array. The operation method of vue's own variant array can be used directly


dynamic construction can only be built with render there is no other way

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