feat: dbms表数据新增表单视图

This commit is contained in:
meilin.huang
2024-07-19 17:06:11 +08:00
parent a80221a950
commit 2deb3109c2
8 changed files with 32 additions and 32 deletions

View File

@@ -98,18 +98,19 @@ func NewParserByteStream(width, height int) *ansiterm.ByteStream {
var (
enterMarks = [][]byte{
[]byte("\x1b[?1049h"),
[]byte("\x1b[?1049h"), // 从备用屏幕缓冲区恢复屏幕内容
[]byte("\x1b[?1048h"),
[]byte("\x1b[?1047h"),
[]byte("\x1b[?47h"),
[]byte("\x1b[?25l"),
[]byte("\x1b[?25l"), // 隐藏光标
}
exitMarks = [][]byte{
[]byte("\x1b[?1049l"),
[]byte("\x1b[?1049l"), // 从备用屏幕缓冲区恢复屏幕内容
[]byte("\x1b[?1048l"),
[]byte("\x1b[?1047l"),
[]byte("\x1b[?47l"),
[]byte("\x1b[?25h"), // 显示光标
}
screenMarks = [][]byte{

View File

@@ -112,6 +112,7 @@ func (re *RedisInfo) connSentinel() (*RedisConn, error) {
SentinelAddrs: strings.Split(masterNameAndHosts[1], ","),
Username: re.Username,
Password: re.Password, // no password set
SentinelUsername: re.Username,
SentinelPassword: re.Password, // 哨兵节点密码需与redis节点密码一致
DB: re.Db, // use default DB
DialTimeout: 8 * time.Second,