Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhanglw
sensorConsult
Commits
85580398
Commit
85580398
authored
Oct 17, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
z
parent
c455f899
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
Navbar.vue
src/layout/components/Navbar.vue
+1
-1
userLogin.vue
src/views/homepage/components/userLogin.vue
+1
-1
userLoginV2.vue
src/views/homepage/components/userLoginV2.vue
+1
-1
login.vue
src/views/homepage/login.vue
+10
-10
No files found.
src/layout/components/Navbar.vue
View file @
85580398
...
...
@@ -85,7 +85,7 @@ export default {
location
.
reload
()
},
open
()
{
this
.
$confirm
(
'
确定
注销并
退出系统吗?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确定退出系统吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
...
...
src/views/homepage/components/userLogin.vue
View file @
85580398
...
...
@@ -51,7 +51,7 @@ export default {
})
},
open
()
{
this
.
$confirm
(
'
确定
注销并
退出系统吗?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确定退出系统吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
...
...
src/views/homepage/components/userLoginV2.vue
View file @
85580398
...
...
@@ -51,7 +51,7 @@ export default {
})
},
open
()
{
this
.
$confirm
(
'
确定
注销并
退出系统吗?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确定退出系统吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
...
...
src/views/homepage/login.vue
View file @
85580398
...
...
@@ -216,16 +216,6 @@ export default {
duration
:
5000
})
}
HttpReq
.
webClientApi
.
sendSmsCode
({
tel
:
this
.
loginForm
.
username
}).
then
((
res
)
=>
{
this
.
$notify
({
title
:
res
.
msg
,
type
:
'
success
'
,
duration
:
2500
})
if
(
res
.
code
===
200
)
{
this
.
smsBtn
=
'
短信已发送
'
this
.
smsTime
=
30
this
.
timer
=
setInterval
(()
=>
{
this
.
smsTime
--
...
...
@@ -235,6 +225,16 @@ export default {
this
.
smsBtn
=
'
短信获取验证码
'
}
},
1000
)
HttpReq
.
webClientApi
.
sendSmsCode
({
tel
:
this
.
loginForm
.
username
}).
then
((
res
)
=>
{
this
.
$notify
({
title
:
res
.
msg
,
type
:
res
.
code
===
200
?
'
success
'
:
'
error
'
,
duration
:
2500
})
if
(
res
.
code
===
200
)
{
this
.
smsBtn
=
'
短信已发送
'
}
})
},
...
...
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