finish refactor of mj

This commit is contained in:
AceDataCloud committed 2023-12-30 18:34:33 +08:00
1 parent 6ab318e3f0
commit a75a000974
14 files changed
+232 -196

No files matched your search

+10 -2
View File
@@ -22,8 +22,16 @@ export default defineComponent({
Navigator
},
async mounted() {
await this.$store.dispatch('chat/getApplications');
await this.$store.dispatch('chat/getConversations');
await this.onGetApplications();
await this.onGetConversations();
},
methods: {
async onGetApplications() {
await this.$store.dispatch('chat/getApplications');
},
async onGetConversations() {
await this.$store.dispatch('chat/getConversations');
}
}
});
</script>