From 12f08c16ee7c7176368b5961fe104ed698227a8d Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 11 九月 2025 17:41:50 +0800 Subject: [PATCH] Merge branch 'master' into dev-v1.1 --- apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue | 27 +++++++++++++++------------ 1 files changed, 15 insertions(+), 12 deletions(-) diff --git a/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue b/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue index 683b95e..4511852 100644 --- a/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue +++ b/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue @@ -236,18 +236,21 @@ } }); -const handleApply = useAccessLogin(async () => { - try { - let params: API.ApplyTaskCommand = { - ids: [id], - }; - let res = await taskUserServices.applyTask(params); - if (res) { - Message.success('鎶ュ悕鎴愬姛'); - refetch({ type: 'inactive' }); - } - } catch (error) {} -}); +const handleApply = useAccessReal( + async () => { + try { + let params: API.ApplyTaskCommand = { + ids: [id], + }; + let res = await taskUserServices.applyTask(params); + if (res) { + Message.success('鎶ュ悕鎴愬姛'); + refetch({ type: 'inactive' }); + } + } catch (error) {} + }, + { message: '瀹炲悕鎴愬姛鍚庢墠鍙姤鍚嶏紝璇峰墠寰�瀹炲悕璁よ瘉' } +); const handleAttention = useAccessLogin(async () => { try { -- Gitblit v1.9.1