Update index.py

This commit is contained in:
Mr Chen 2024-05-04 15:24:44 +08:00
parent adc7f2fe98
commit 3db40877cd
1 changed files with 1 additions and 0 deletions

View File

@ -1019,6 +1019,7 @@ def replInit():
c['security']['replSetName'] = name
setReplConfigData(c)
restart()
if len(nodes) == 0:
return mw.returnJson(False, '节点不能为空!')