今儿用了Render函数这个东西渲染页面,特此记录一下用法。
const h = that.$createElement;
that.$info({
title: '导出数据',
content: h('div', {class: 'dialogDiv'},[
h('div', {
style: {
display: 'flex',
'align-items': 'center',
margin: '30px 0 20px 0 '
},
}, [
h('span', '页码'),
h('a-input', {
style: {
flex: '1',
margin: '0 0 0 10px'
},
}),
]),
h('div', {
style: {
display: 'flex',
'align-items': 'center'
},
}, [
h('span', '条数'),
h('a-input', {
styl

本文记录了Vue中Render函数的使用经验,包括如何利用Render函数进行页面渲染,重点介绍了其参数配置,如标签定义、属性设置及子标签的处理。
最低0.47元/天 解锁文章
303

被折叠的 条评论
为什么被折叠?



