This commit is contained in:
chenyan 2021-12-27 16:40:44 +08:00
parent 597a8f868f
commit a02caad9e0
1 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ description: fredis 是一个网页版 redis 客户端基于“ws2s项目”
host: "172.17.248.195",
port: 6379,
auth: '',
db: 0,
db: '',
sshHost: '',
sshPort: '',
sshUsername: '',
@ -388,7 +388,7 @@ description: fredis 是一个网页版 redis 客户端基于“ws2s项目”
terminal.error(JSON.stringify(error))
}
if (connection.db) {
terminal.exec('select ' + db)
terminal.exec('select ' + connection.db)
}
this.openedConnections.push(connection)