Update redis.js

This commit is contained in:
Mr Chen 2023-11-09 20:54:53 +08:00
parent feb58ca3ad
commit 76d2acac76
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ function replStatus(version){
tbody_text += '<tr><th>'+k+'</th><td class="overflow_hide" style="width:155px;display: inline-block;border: none;">' + rdata[k] + '</td><td>'+kv[k]+'</td></tr>';
} else{
if (k.substring(0,5) == 'slave' && isNaN(k.substring(5))){
if (k.substring(0,5) == 'slave' && !isNaN(k.substring(5))){
tbody_text += '<tr><th>'+k+'</th><td class="overflow_hide" style="width:155px;display: inline-block;border: none;" title="'+rdata[k]+'">' + rdata[k] + '</td><td>从库配置信息</td></tr>';
} else{
tbody_text += '<tr><th>'+k+'</th><td>' + rdata[k] + '</td><td>'+kv[k]+'</td></tr>';