mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
docs(modal): Fix en demo (#980)
Switching the messages, so that the one you'd expect shows up when clicking on "Submit" and "Cancel"
This commit is contained in:
parent
06ea659ed3
commit
92890ee4b5
@ -29,11 +29,11 @@ export default defineComponent({
|
||||
return {
|
||||
showModal: showModalRef,
|
||||
onPositiveClick () {
|
||||
message.success('Cancel')
|
||||
message.success('Submit')
|
||||
showModalRef.value = false
|
||||
},
|
||||
onNegativeClick () {
|
||||
message.success('Submit')
|
||||
message.success('Cancel')
|
||||
showModalRef.value = false
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user