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:
Thomas Klemm 2021-08-27 18:12:49 +02:00 committed by GitHub
parent 06ea659ed3
commit 92890ee4b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}