From 2279e209eb438ed7ba7a1a98409c98a964bd3b23 Mon Sep 17 00:00:00 2001 From: sudoskys Date: Mon, 13 May 2024 01:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(frontend):=20Add=20authSuccess?= =?UTF-8?q?=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ℹ️ Add authSuccess function to send data to the backend and represent successful validation.从环境变量获取后端地址 --- frontend/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index d41a067..bf227ef 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -138,7 +138,7 @@ const authSuccess = () => { console.log('Response:', response) if (response.status === 200) { verifyBackendMessage.success = true - verifyBackendMessage.message = 'Backend verification success' + verifyBackendMessage.message = 'You are verified' // 延迟几秒 setTimeout(() => { WebApp.close()