fix(#I1FEC1): 修复用户维护页面更新显示名称不同步问题
#Comment comment #I1FEC1 #Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=I1FEC1
This commit is contained in:
parent
004e591076
commit
045b5861e7
|
@ -74,8 +74,8 @@ $(function () {
|
|||
}
|
||||
},
|
||||
callback: function (data) {
|
||||
if (data && data.success && data.oper === 'save' && data.data.UserName === $('#userDisplayName').attr('data-userName')) {
|
||||
$('.username').text(data.data.DisplayName);
|
||||
if (data && data.success && data.oper === 'save' && data.data[0].UserName === $('#userDisplayName').attr('data-userName')) {
|
||||
$('.username').text(data.data[0].DisplayName);
|
||||
}
|
||||
if (data && data.oper === 'create') {
|
||||
$('#userName').prop('readonly', false).removeClass("ignore");
|
||||
|
|
Loading…
Reference in New Issue