Add subscription support (#100)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2024-08-16 00:31:58 +08:00
1 parent 7688a1787e
commit 14b04fe54f
355 files changed
+9161 -7020

No files matched your search

+2 -2
View File
@@ -105,10 +105,10 @@ export default defineComponent({
return this.$store.state.chatdoc.credential;
},
needApply() {
return this.$store.state.chatdoc.status.getApplication === Status.Success && !this.application;
return this.$store.state.chatdoc.status.getApplications === Status.Success && !this.application;
},
initializing() {
return this.$store.state.chatdoc.status.getApplication === Status.Request;
return this.$store.state.chatdoc.status.getApplications === Status.Request;
},
service(): IService | undefined {
return this.$store.state.chatdoc.service;