style: 登录日志登录结果增加 badge-md 样式

This commit is contained in:
Argo Zhang 2019-08-15 09:48:35 +08:00
parent 52ebcb4dcf
commit f530bbd80f
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ $(function () {
title: "登录结果", field: "Result", formatter: function (value, row, index) {
var css = value === "登录成功" ? "success" : "danger";
var icon = css === "success" ? "check" : "remove";
return $.format('<span class="badge badge-{0}"><i class="fa fa-{2}"></i>{1}</span>', css, value, icon);
return $.format('<span class="badge badge-md badge-{0}"><i class="fa fa-{2}"></i>{1}</span>', css, value, icon);
}
}
]