Skip to content

Commit

Permalink
✨ feat(frontend): Add authSuccess function
Browse files Browse the repository at this point in the history
ℹ️ Add authSuccess function to send data to the backend and represent successful validation.从环境变量获取后端地址
  • Loading branch information
sudoskys committed May 12, 2024
1 parent 3bc3c02 commit 2279e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2279e20

Please sign in to comment.