Commit a7a487da authored by 皮倩雯's avatar 皮倩雯

fix: '优化'

parent 628ed75c
Pipeline #77891 passed with stages
...@@ -146,7 +146,7 @@ const EditUserModal = props => { ...@@ -146,7 +146,7 @@ const EditUserModal = props => {
) { ) {
editUser(currentUser.userId, loginName, userName, phone, email) editUser(currentUser.userId, loginName, userName, phone, email)
.then(res => { .then(res => {
if (res.msg === '') { if (res.code === 0) {
onCancel(); onCancel();
// 重新获取用户表 // 重新获取用户表
if (!newPassword) { if (!newPassword) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment