this.$createElement
时间: 2023-10-20 15:02:33 浏览: 199
this.$createElement是Vue.js中用于创建虚拟DOM元素的方法。它可以接受三个参数,第一个参数是要创建的节点元素的标签名,第二个参数是属性配置,如class、style等,第三个参数是节点元素的内容。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [vue:this.$createElement方法](https://blog.csdn.net/qq_37899622/article/details/120351160)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [vue渲染函数中的createElement的props用法详解](https://blog.csdn.net/shshanling/article/details/89762333)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文