Optimize the auth flow (#68)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
033cbc082c
commit
85aef535f6
23 files changed
+215
-245
No files matched your search
@@ -35,22 +35,6 @@ export default defineComponent({
|
||||
return {
|
||||
drawer: false
|
||||
};
|
||||
},
|
||||
async mounted() {
|
||||
await this.onGetService();
|
||||
await this.onGetApplication();
|
||||
await this.onGetConversations();
|
||||
},
|
||||
methods: {
|
||||
async onGetService() {
|
||||
await this.$store.dispatch('chat/getService');
|
||||
},
|
||||
async onGetApplication() {
|
||||
await this.$store.dispatch('chat/getApplication');
|
||||
},
|
||||
async onGetConversations() {
|
||||
await this.$store.dispatch('chat/getConversations');
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -29,21 +29,8 @@ export default defineComponent({
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
drawer: false,
|
||||
drawer2: false
|
||||
drawer: false
|
||||
};
|
||||
},
|
||||
async mounted() {
|
||||
await this.onGetService();
|
||||
await this.onGetApplication();
|
||||
},
|
||||
methods: {
|
||||
async onGetService() {
|
||||
await this.$store.dispatch('midjourney/getService');
|
||||
},
|
||||
async onGetApplication() {
|
||||
await this.$store.dispatch('midjourney/getApplication');
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -31,18 +31,6 @@ export default defineComponent({
|
||||
return {
|
||||
drawer: false
|
||||
};
|
||||
},
|
||||
async mounted() {
|
||||
await this.onGetService();
|
||||
await this.onGetApplication();
|
||||
},
|
||||
methods: {
|
||||
async onGetService() {
|
||||
await this.$store.dispatch('qrart/getService');
|
||||
},
|
||||
async onGetApplication() {
|
||||
await this.$store.dispatch('qrart/getApplication');
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user