|
|
@@ -230,7 +230,7 @@ function renderKnowledgeList(data) {
|
|
|
}
|
|
|
|
|
|
items.forEach(function(item) {
|
|
|
- const statusHtml = (item.status == 1 || item.status === '1')
|
|
|
+ const statusHtml = (item.status == 1 || item.status === '1' || item.status === 'normal')
|
|
|
? '<span class="text-green-400"><i class="fas fa-check-circle"></i> 启用</span>'
|
|
|
: '<span class="text-red-400"><i class="fas fa-times-circle"></i> 禁用</span>';
|
|
|
const html = `<tr class="border-b border-gray-700 hover:bg-gray-700/30 transition-colors">
|