feat: 演示模式设置增加授权码检查

This commit is contained in:
Argo Zhang 2020-03-09 13:34:55 +08:00
parent 2ddcf5c827
commit 04c769c84b
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@
<button data-method="saveLogPeriod" class="btn btn-secondary" type="button"><i class="fa fa-save"></i><span>保存</span></button>
</div>
</div>
<div class="card" asp-auth="demo">
<div class="card" asp-auth="demo" data-toggle="LgbValidate" data-valid-button="[data-method='saveDemo']">
<div class="card-header">演示系统设置</div>
<div class="card-body">
<div class="form-inline">
@ -300,7 +300,7 @@
</div>
<div class="form-group col-6">
<label class="control-label" for="authKey">授权码</label>
<input id="authKey" type="password" autocomplete="off" class="form-control" />
<input id="authKey" type="password" autocomplete="off" class="form-control" data-valid="true" />
</div>
</div>
</div>