Move Apprise check to child component

This commit is contained in:
zsxeee 2021-09-17 16:54:50 +08:00
parent e9735d239b
commit 534ac4b720
No known key found for this signature in database
GPG key ID: 895CFFFD8313B3B8
2 changed files with 8 additions and 8 deletions

View file

@ -100,8 +100,7 @@ export default {
type: null,
isDefault: false,
// Do not set default value here, please scroll to show()
},
appriseInstalled: false,
}
}
},
@ -131,10 +130,6 @@ export default {
},
mounted() {
this.modal = new Modal(this.$refs.modal)
this.$root.getSocket().emit("checkApprise", (installed) => {
this.appriseInstalled = installed;
})
},
methods: {