diff --git a/change/@acedatacloud-hub-f012952b-b309-4619-be32-d1b4a884ed96.json b/change/@acedatacloud-hub-f012952b-b309-4619-be32-d1b4a884ed96.json new file mode 100644 index 00000000..ae864365 --- /dev/null +++ b/change/@acedatacloud-hub-f012952b-b309-4619-be32-d1b4a884ed96.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix apply dialog display", + "packageName": "@acedatacloud/hub", + "email": "cqc@cuiqingcai.com", + "dependentChangeType": "patch" +} diff --git a/src/components/application/Status.vue b/src/components/application/Status.vue index 2193f22a..8984c37e 100644 --- a/src/components/application/Status.vue +++ b/src/components/application/Status.vue @@ -28,7 +28,12 @@ {{ $t('chat.message.tryForFree') }} - + diff --git a/src/store/chat/actions.ts b/src/store/chat/actions.ts index d63a2272..2d3d966f 100644 --- a/src/store/chat/actions.ts +++ b/src/store/chat/actions.ts @@ -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) => {