前端问题优化

This commit is contained in:
cwchen 2025-01-22 11:15:03 +08:00
parent 68f0489613
commit 4270fe5e94
1 changed files with 2 additions and 2 deletions

View File

@ -118,9 +118,9 @@ function initTable() {
sort:true,
templet: function (d) {
if (d.status === '已生效') {
return "<span style='color:#19BE6B;margin:0 5px 0 5px;font-size:14px'>●</span>" + "已生效";
return "<span style='color:#19BE6B;margin:0 5px 0 5px;font-size:14px'>●</span>"+d.status+"";
} else {
return "<span style='color:#F56C6C;margin:0 5px 0 5px;font-size:14px'>●</span>" + "已失效";
return "<span style='color:#F56C6C;margin:0 5px 0 5px;font-size:14px'>●</span>"+d.status+"";
}
}
},