Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
99c79097
Commit
99c79097
authored
Dec 04, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多次调取验证码
parent
fc100614
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
47 additions
and
25 deletions
+47
-25
personalAuth.vue
src/components/authentication/personalAuth.vue
+4
-1
emByCodeCmpt.vue
src/components/login/emByCodeCmpt.vue
+4
-1
mbByCodeCmpt.vue
src/components/login/mbByCodeCmpt.vue
+5
-1
mobileLoginCmpt.vue
src/components/login/mobileLoginCmpt.vue
+2
-14
emailRegisterCmpt.vue
src/views/loginregister/pages/emailRegisterCmpt.vue
+4
-1
findPasswordCmpt.vue
src/views/loginregister/pages/findPasswordCmpt.vue
+4
-1
mobileRegisterCmpt.vue
src/views/loginregister/pages/mobileRegisterCmpt.vue
+4
-1
addAuth.vue
src/views/mobile/auth/addAuth.vue
+4
-1
emCodeCmpt.vue
src/views/mobile/loginregister/emCodeCmpt.vue
+4
-1
emRegister.vue
src/views/mobile/loginregister/emRegister.vue
+4
-1
phoneCodeCmpt.vue
src/views/mobile/loginregister/phoneCodeCmpt.vue
+4
-1
phoneRegister.vue
src/views/mobile/loginregister/phoneRegister.vue
+4
-1
No files found.
src/components/authentication/personalAuth.vue
View file @
99c79097
...
...
@@ -387,7 +387,10 @@
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isSendCode'
)
},
}
</
script
>
...
...
src/components/login/emByCodeCmpt.vue
View file @
99c79097
...
...
@@ -265,7 +265,10 @@
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isSendCode'
)
},
}
</
script
>
...
...
src/components/login/mbByCodeCmpt.vue
View file @
99c79097
...
...
@@ -247,12 +247,16 @@
},
},
mounted
()
{
window
.
isPhone
=
-
1
;
globalMsg
.
$on
(
"isSendCode"
,(
data
,
which
)
=>
{
if
(
data
&&
which
==
7
){
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isSendCode'
)
},
}
</
script
>
...
...
src/components/login/mobileLoginCmpt.vue
View file @
99c79097
<
template
>
<div
class=
"wrapper"
element-loading-background=
"rgba(0, 0, 0, 0.8)"
>
<p>
{{
$t
(
"login.title"
)
}}
</p>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleTab"
>
<el-tabs
v-model=
"activeName"
>
<el-tab-pane
:label=
"$t('login.phonePwdLogin')"
name=
"first"
>
<mbByPwdCmpt></mbByPwdCmpt>
</el-tab-pane>
...
...
@@ -26,19 +26,7 @@
activeName
:
"first"
,
}
},
methods
:
{
//切换
handleTab
(
tab
){
if
(
tab
.
name
===
"first"
){
// this.$refs["yzCodeForm"].resetFields();
this
.
isShowSlider
=
false
;
this
.
showMessageInfo
=
false
;
}
// else this.$refs["loginForm"].resetFields();
}
}
methods
:
{}
}
</
script
>
...
...
src/views/loginregister/pages/emailRegisterCmpt.vue
View file @
99c79097
...
...
@@ -325,7 +325,10 @@
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isSendCode'
)
},
}
</
script
>
...
...
src/views/loginregister/pages/findPasswordCmpt.vue
View file @
99c79097
...
...
@@ -243,7 +243,10 @@
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isSendCode'
)
},
}
</
script
>
...
...
src/views/loginregister/pages/mobileRegisterCmpt.vue
View file @
99c79097
...
...
@@ -302,7 +302,10 @@
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isSendCode'
)
},
}
</
script
>
...
...
src/views/mobile/auth/addAuth.vue
View file @
99c79097
...
...
@@ -575,7 +575,10 @@
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isPhoneSendCode'
)
},
}
</
script
>
...
...
src/views/mobile/loginregister/emCodeCmpt.vue
View file @
99c79097
...
...
@@ -247,7 +247,10 @@
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isPhoneSendCode'
)
},
}
</
script
>
...
...
src/views/mobile/loginregister/emRegister.vue
View file @
99c79097
...
...
@@ -273,7 +273,10 @@
this
.
getCodeFunc
();
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isPhoneSendCode'
)
},
}
</
script
>
...
...
src/views/mobile/loginregister/phoneCodeCmpt.vue
View file @
99c79097
...
...
@@ -238,7 +238,10 @@
}
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isPhoneSendCode'
)
},
}
</
script
>
...
...
src/views/mobile/loginregister/phoneRegister.vue
View file @
99c79097
...
...
@@ -277,7 +277,10 @@
})
}
},
beforeDestroy
()
{
globalMsg
.
$off
(
'isPhoneSendCode'
)
},
}
</
script
>
...
...
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