From c0aa4bcc1e456b30e793b416a0b355ec6e0a9e78 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 12 May 2024 14:10:52 +0800 Subject: [PATCH] Update mongodb.js --- plugins/mongodb/js/mongodb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mongodb/js/mongodb.js b/plugins/mongodb/js/mongodb.js index afacf0afb..c56e19a67 100644 --- a/plugins/mongodb/js/mongodb.js +++ b/plugins/mongodb/js/mongodb.js @@ -162,7 +162,7 @@ function mongoReplStatus() { var tbody_members = ''; var member_list = rdata['members']; for (var i = 0; i < member_list.length; i++) { - tbody_members += ''+member_list['name']+'' + member_list[i]['stateStr'] + ''+member_list[i]['uptime']+''; + tbody_members += ''+member_list[i]['name']+'' + member_list[i]['stateStr'] + ''+member_list[i]['uptime']+''; } // console.log(rdata); @@ -186,7 +186,7 @@ function mongoReplStatus() { \ '; - con += '
\ + con += '
\ \ \ '+tbody_members+'\
IP状态在线