mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
fix wrong watching parameter
This commit is contained in:
@@ -43,7 +43,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
'show': function (newValue) {
|
'showState': function (newValue) {
|
||||||
this.$emit('update:show', newValue);
|
this.$emit('update:show', newValue);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -67,7 +67,7 @@ export default {
|
|||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.resolve = resolve;
|
this.resolve = resolve;
|
||||||
this.reject = reject;
|
this.reject = reject;
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
if (this.resolve) {
|
if (this.resolve) {
|
||||||
|
|||||||
Reference in New Issue
Block a user