fix(#I16BFG): 个人中心保存按钮在特殊情况下失效
#Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=I16BFG
This commit is contained in:
parent
31618e3782
commit
d204f003b8
|
@ -30,6 +30,7 @@
|
|||
<script src="~/lib/longbow/longbow.validate.js" asp-append-version="true"></script>
|
||||
<script src="~/js/profiles.js" asp-append-version="true"></script>
|
||||
}
|
||||
<input type="hidden" value="@Model.UserName" id="userName"/>
|
||||
<div class="card" asp-auth="saveDisplayName">
|
||||
<div class="card-header">基本资料</div>
|
||||
<div class="card-body" data-toggle="LgbValidate" data-valid-button="#btnSaveDisplayName">
|
||||
|
@ -39,12 +40,12 @@
|
|||
<form class="form-inline">
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6 col-md-auto">
|
||||
<label class="control-label" for="userName">登录名称</label>
|
||||
<input type="text" class="form-control ignore" id="userName" name="userName" value="@Model.UserName" readonly />
|
||||
<label class="control-label" for="userName1">登录名称</label>
|
||||
<input type="text" class="form-control ignore" id="userName1" value="@Model.UserName" readonly />
|
||||
</div>
|
||||
<div class="form-group col-sm-6 col-md-auto">
|
||||
<label class="control-label" for="DisplayName">显示名称</label>
|
||||
<input type="text" class="form-control" id="displayName" name="displayName" value="@Model.DisplayName" placeholder="不可为空,20字以内" maxlength="20" data-valid="true" />
|
||||
<input type="text" class="form-control" id="displayName" value="@Model.DisplayName" placeholder="不可为空,20字以内" maxlength="20" data-valid="true" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue