Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
jinmao-community-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
852d62f7
authored
May 21, 2021
by
袁晓帅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.maxrocky.com/html/jinmao-community-platform
into develop
parents
cb063e4f
978a72d6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/components/common/Header.vue
+3
-3
src/components/page/equipment/deviceAlert.vue
+1
-1
No files found.
src/components/common/Header.vue
View file @
852d62f7
...
@@ -177,9 +177,9 @@ export default {
...
@@ -177,9 +177,9 @@ export default {
this
.
showAlert
(
'请输入新密码~'
)
this
.
showAlert
(
'请输入新密码~'
)
return
false
return
false
}
}
var
reg
=
/^
[
0-9a-zA-Z
]
+$
/
var
reg
=
/^
1
[
0-9
]
+
[
a-zA-Z
]
+
[
0-9a-zA-Z
]
*|
[
a-zA-Z
]
+
[
0-9
]
+
[
0-9a-zA-Z
]
*
/
if
(
this
.
formData
.
newPassword
&&
(
this
.
formData
.
newPassword
.
length
<
6
||
!
reg
.
test
(
this
.
formData
.
newPassword
)))
{
if
(
this
.
formData
.
newPassword
&&
(
this
.
formData
.
newPassword
.
length
<
10
||
!
reg
.
test
(
this
.
formData
.
newPassword
)))
{
this
.
showAlert
(
'新密码不能少于
6位数并
且不能输入中文~'
)
this
.
showAlert
(
'新密码不能少于
10位数的字母、数字组合,
且不能输入中文~'
)
return
false
return
false
}
}
if
(
!
this
.
formData
.
confirmPassword
)
{
if
(
!
this
.
formData
.
confirmPassword
)
{
...
...
src/components/page/equipment/deviceAlert.vue
View file @
852d62f7
...
@@ -155,7 +155,7 @@ export default {
...
@@ -155,7 +155,7 @@ export default {
}),
}),
created
()
{
created
()
{
this
.
projectId
=
window
.
sessionStorage
.
getItem
(
'projectId'
)
this
.
projectId
=
window
.
sessionStorage
.
getItem
(
'projectId'
)
this
.
projectId
=
'beijing61'
//
this.projectId = 'beijing61'
this
.
height
=
(
document
.
documentElement
.
clientHeight
-
270
)
+
'px'
this
.
height
=
(
document
.
documentElement
.
clientHeight
-
270
)
+
'px'
this
.
getTypeList
(
this
.
projectId
)
this
.
getTypeList
(
this
.
projectId
)
this
.
getData
()
this
.
getData
()
...
...
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