mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	feat: dbms表数据新增表单视图
This commit is contained in:
		@@ -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{
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user