fix:调整系统保存时 修改缓存的时区,以及 创建temail添加默认端口

This commit is contained in:
zhangyu
2021-04-29 09:55:47 +08:00
parent f1cb4abb20
commit b6eb30d709
2 changed files with 8 additions and 2 deletions

View File

@@ -360,7 +360,7 @@ export default {
},
customConnect: {
host: '',
port: '',
port: 22,
authType: 1,
authUsername: '',
authPin: '',
@@ -878,9 +878,10 @@ export default {
if (this.customConnect.authProtocol === 1) {
this.customConnect.authUserTip = ''
this.customConnect.authPinTip = ''
this.customConnect.port = 22
} else {
this.customConnect.authPriKey = ''
this.customConnect.authPriKey = 1
this.customConnect.port = 23
}
},
authTypeChange () {