diff --git a/ui/src/views/application/component/CreateApplicationDialog.vue b/ui/src/views/application/component/CreateApplicationDialog.vue index 23d551c25..74f025ddd 100644 --- a/ui/src/views/application/component/CreateApplicationDialog.vue +++ b/ui/src/views/application/component/CreateApplicationDialog.vue @@ -239,11 +239,6 @@ const submitHandle = async (formEl: FormInstance | undefined) => { } applicationApi .postApplication({ ...applicationForm.value, folder_id: currentFolder.value }, loading) - .then((res) => { - return user.profile().then(() => { - return res - }) - }) .then((res) => { MsgSuccess(t('common.createSuccess')) emit('refresh') @@ -254,6 +249,11 @@ const submitHandle = async (formEl: FormInstance | undefined) => { } dialogVisible.value = false }) + .then((res) => { + return user.profile().then(() => { + return res + }) + }) } }) }