样式lable换成text
This commit is contained in:
@ -26,9 +26,9 @@ $(function() {
|
||||
align: 'center',
|
||||
formatter: function(value, row, index) {
|
||||
if (value == 'Y') {
|
||||
return '<span class="label label-success">是</span>';
|
||||
return '<span class="text-success">是</span>';
|
||||
} else if (value == 'N') {
|
||||
return '<span class="label label-primary">否</span>';
|
||||
return '<span class="text-danger">否</span>';
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user