Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does Modal. confirm's content not support rendering of template strings? #843

Closed
1 task
djx474068077 opened this issue Jun 6, 2019 · 3 comments
Closed
1 task
Labels

Comments

@djx474068077
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

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: '输入金额...'
},
})
])
},
})
@Lukinoh
Copy link
Contributor

Lukinoh commented Jun 6, 2019

I open a related issue a few days ago: #824

@tangjinzhou
Copy link
Member

ref #824

@github-actions
Copy link

github-actions bot commented Aug 7, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants