Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
0f73eabe
Commit
0f73eabe
authored
Aug 03, 2021
by
徐一鸣
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
ssh://cloud.wodcloud.com:10022/apaas/apaas-ui
into dev
parents
eb6dd0e6
dbad929c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/pages/user/user_info.vue
src/pages/user/user_info.vue
+4
-5
No files found.
src/pages/user/user_info.vue
View file @
0f73eabe
...
@@ -370,8 +370,7 @@ export default {
...
@@ -370,8 +370,7 @@ export default {
],
],
email
:
[
email
:
[
{
{
pattern
:
pattern
:
/^
([
a-zA-Z0-9
]
+
[
_|
\_
|
\.]?)
*
[
a-zA-Z0-9
]
+@
([
a-zA-Z0-9
]
+
[
-|_|
\_
|
\.]?)
*
[
a-zA-Z0-9
]
+
\.[
a-zA-Z
]{2,3}
$/
,
/^
([
a-zA-Z0-9
]
+
[
_|
\_
|
\.]?)
*
[
a-zA-Z0-9
]
+@
([
a-zA-Z0-9
]
+
[
-|_|
\_
|
\.]?)
*
[
a-zA-Z0-9
]
+
\.[
a-zA-Z
]{2,3}
$/
,
message
:
"
请输入正确的邮箱
"
,
message
:
"
请输入正确的邮箱
"
,
},
},
],
],
...
@@ -544,11 +543,11 @@ export default {
...
@@ -544,11 +543,11 @@ export default {
origin_password
:
CryptoJS
.
AES
.
encrypt
(
origin_password
:
CryptoJS
.
AES
.
encrypt
(
this
.
form
.
passwordOld
,
this
.
form
.
passwordOld
,
"
swuE9cmCZQwrkYRV
"
"
swuE9cmCZQwrkYRV
"
),
)
.
toString
()
,
new_password
:
CryptoJS
.
AES
.
encrypt
(
new_password
:
CryptoJS
.
AES
.
encrypt
(
this
.
form
.
passwordNew
,
this
.
form
.
passwordNew
,
"
swuE9cmCZQwrkYRV
"
"
swuE9cmCZQwrkYRV
"
),
)
.
toString
()
,
},
},
};
};
this
.
$api
.
user
.
editUserPassword
(
query
).
then
((
response
)
=>
{
this
.
$api
.
user
.
editUserPassword
(
query
).
then
((
response
)
=>
{
...
...
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