-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
message content vnode is empty #554
Labels
Comments
tangjinzhou
added a commit
that referenced
this issue
Mar 6, 2019
@sendya we should support @maxiloEmmmm You can use vnode directly like @sendya . |
@sendya |
這個在 |
这样处理,亲测可行: ...
<a-button
@click="confirm"
>
Confirm
</a-button>
··· confirm() {
const confirmOptions = {
title: 'Confirm',
content: (
<div>
<p>some messages...some messages...</p>
<p>some messages...some messages...</p>
</div>
),
okText: 'OK',
cancelText: 'Cancel',
autoFocusButton: 'cancel',
onOk: () => {
return new Promise((resolve, reject) => {
setTimeout(Math.random() > 0.5 ? resolve : reject, 1000)
}).catch(() => console.log('Oops errors!'))
}
}
this.$confirm(confirmOptions)
} |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
1.3.5
Environment
ant-design-vue@1.3.5 vue@2.6.7 chrome@69.0.3497.106
Reproduction link
Steps to reproduce
ant-design-vue@1.3.5
vue@2.6.7
chrome@69.0.3497.106
What is expected?
vnode display in message component
What is actually happening?
vnode no display in message component
The text was updated successfully, but these errors were encountered: