Fix dialog display when no auth (#26)

This commit is contained in:
AceDataCloud committed 2024-04-13 16:30:14 +00:00
1 parent 704da3e128
commit 209f7e8371
3 files changed
+14 -2

No files matched your search

@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix apply dialog display",
"packageName": "@acedatacloud/hub",
"email": "cqc@cuiqingcai.com",
"dependentChangeType": "patch"
}
+6 -1
View File
@@ -28,7 +28,12 @@
</el-button>
</span>
<span class="ml-1">{{ $t('chat.message.tryForFree') }}</span>
<application-confirm v-if="service" v-model.visible="confirming" :service="service" @apply="onApply" />
<application-confirm
v-if="service && authenticated"
v-model.visible="confirming"
:service="service"
@apply="onApply"
/>
</div>
</template>
+1 -1
View File
@@ -70,7 +70,7 @@ export const getApplication = async ({
state.status.getApplication = Status.Request;
applicationOperator
.getAll({
user_id: rootState.user.id,
user_id: rootState?.user?.id,
service_id: CHAT_SERVICE_ID
})
.then((response) => {