From 6b23469c297132caea09e9502ef460890628a797 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Sun, 28 Sep 2025 10:56:08 +0800 Subject: [PATCH] fix: reorder user profile update in application creation flow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1062351 --user=刘瑞斌 【应用】创建应用时,快速点击创建按钮,可重复创建应用 https://www.tapd.cn/62980211/s/1780369 --- .../application/component/CreateApplicationDialog.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 + }) + }) } }) }