Commit ed0deea8 by 周海峰

no message

parent 5e374db1
...@@ -402,7 +402,9 @@ const handleSubmit = () => { ...@@ -402,7 +402,9 @@ const handleSubmit = () => {
params.password = encrypt(params.password) params.password = encrypt(params.password)
}else { }else {
const change = passwordOld.value !== params.password const change = passwordOld.value !== params.password
params.password = encrypt(params.password) if(change){
params.password = encrypt(params.password)
}
} }
add(params).then(res => { add(params).then(res => {
if (res.code === 'POP_00014') { if (res.code === 'POP_00014') {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论