What problem does this feature solve?
This feature solves the problem that content in Modal. confirm can use what it wants.
What does the proposed API look like?
this.$Modal.confirm({
render: (h) => {
return h('div', [
h('p', {
style: {
marginTop: '20px'
}
}, '确认要完结当前逾期订单??'),
h('Input', {
props: {
value: this.income,
autofocus: true,
placeholder: '输入金额...'
},
})
])
},
})