jsx render
2020-08-24 15:46 改吧 阅读(198) 评论(0) 编辑 收藏 举报 render: (text, row, index) => {
return this.$createElement("div", {
domProps: {
innerHTML: row.articlesTitle,
className: "articles-title",
},
});
},
引用组件render
this.$createElement( ToolTip, { attrs: { content: this.getHintContent(row), openDelay: 200, position: "top" } }, [this.$createElement("span", [row.name])], 1 );