Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
c740ff5d
Commit
c740ff5d
authored
Dec 30, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.gsstcloud.com/poc/poc-fe
into beta
parents
cddaf637
4b38baaa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
login.vue
src/views/login/login.vue
+7
-2
No files found.
src/views/login/login.vue
View file @
c740ff5d
...
...
@@ -101,6 +101,7 @@ const currentPhoneNumberArea = ref<'+86' | '+852'>('+852')
const
countdownActive
=
ref
(
true
)
const
isShowCountdown
=
ref
(
false
)
const
countdownDuration
=
ref
<
number
>
(
60000
)
const
googleLoginBtnLoading
=
ref
(
false
)
const
phoneNumberAreaOptions
=
computed
(()
=>
{
return
[
...
...
@@ -353,6 +354,8 @@ function initializeGoogleSignIn(clientId: string) {
logo_alignment
:
'left'
,
locale
:
systemLanguageStore
.
currentLanguage
,
})
googleLoginBtnLoading
.
value
=
true
}
// window.google.accounts.id.prompt((notification: any) => {
...
...
@@ -631,9 +634,11 @@ function getGoogleLoginClientId() {
</button>
</div>
<div
class=
"py-[10px] text-center text-[12px] text-[#999999]"
>
{{ t('common_module.or') }}
</div>
<div
v-show=
"googleLoginBtnLoading"
class=
"py-[10px] text-center text-[12px] text-[#999999]"
>
{{ t('common_module.or') }}
</div>
<div
class=
"flex-center flex"
>
<div
v-show=
"googleLoginBtnLoading"
class=
"flex-center flex"
>
<div
ref=
"googleLoginBtnRef"
></div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment