fix wrong watching parameter

This commit is contained in:
MaysWind
2023-06-24 23:59:20 +08:00
parent f0bc86d42f
commit e3d1a476e2
+2 -2
View File
@@ -43,7 +43,7 @@ export default {
}
},
watch: {
'show': function (newValue) {
'showState': function (newValue) {
this.$emit('update:show', newValue);
}
},
@@ -67,7 +67,7 @@ export default {
return new Promise((resolve, reject) => {
this.resolve = resolve;
this.reject = reject;
})
});
},
confirm() {
if (this.resolve) {