diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js
index 7526bebcc..fc4e5e3de 100644
--- a/nezha-fronted/src/components/common/language/en.js
+++ b/nezha-fronted/src/components/common/language/en.js
@@ -437,6 +437,13 @@ const en = {
createModel: 'Create model',
remark: 'Remark',
type: 'Type'
+ },
+ mib:{
+ mib:'Mib',
+ fileName:'FileName',
+ remark:'Remark',
+ updateUser:'Update User',
+ updateAt:'Update Time',
}
},
alert: {
diff --git a/nezha-fronted/src/components/common/rightBox/assetBox.vue b/nezha-fronted/src/components/common/rightBox/assetBox.vue
index c1ac2d08d..6605a0a60 100644
--- a/nezha-fronted/src/components/common/rightBox/assetBox.vue
+++ b/nezha-fronted/src/components/common/rightBox/assetBox.vue
@@ -386,12 +386,12 @@
-
+
-
+
@@ -617,6 +617,7 @@
module:{},
accountValideResult:true,
changeProtocolSwitch:true,
+ exporterDisableSwitch:false
}
},
/*computed: {
@@ -961,7 +962,6 @@
} else {
if(this.$refs.accountConfigBox&&this.$refs.accountConfigBox.length>0){
this.$refs.accountConfigBox[0].validateAccount();
- console.log("accountValideResult-->"+this.accountValideResult)
}
let modelId = ''
// let authType = ''
@@ -1468,6 +1468,13 @@
}
}
},
+ protocolTypeChange:function(protocol){
+ if(protocol == 'TELNET'){
+ this.exporterDisableSwitch=true;
+ }else{
+ this.exporterDisableSwitch=false;
+ }
+ }
},
mounted() {
this.getUserData()
diff --git a/nezha-fronted/src/components/common/rightBox/cabinetBox.vue b/nezha-fronted/src/components/common/rightBox/cabinetBox.vue
index 173cb21be..702015ea8 100644
--- a/nezha-fronted/src/components/common/rightBox/cabinetBox.vue
+++ b/nezha-fronted/src/components/common/rightBox/cabinetBox.vue
@@ -171,6 +171,7 @@
}).then(() => {
this.$delete('/cabinet?ids='+temp.cabinet.id).then(response=>{
if(response.code == 200){
+ this.esc();
this.$message({duration: 2000, type: 'success', message: this.$t("tip.saveSuccess")});
this.$emit('after',this.cabinet.idcId)
}else{
diff --git a/nezha-fronted/src/components/page/asset/accountConfig.vue b/nezha-fronted/src/components/page/asset/accountConfig.vue
index 8a27b369d..65d2194dc 100644
--- a/nezha-fronted/src/components/page/asset/accountConfig.vue
+++ b/nezha-fronted/src/components/page/asset/accountConfig.vue
@@ -50,7 +50,7 @@
-
login option
+
{{$t('asset.createAssetTab.userPwdIntroduce')}}
@@ -127,6 +127,7 @@ export default {
changeProtocolType:function(protocolType){
if(this.isAllowedChangeProtocol){
this.account.protocol=protocolType;
+ this.$emit('protocol-type-change',protocolType)
}else{
return ;
}
@@ -202,19 +203,19 @@ export default {
.telnet-option{
position: relative;
}
- .telnet-option:before{
- content: "";
+ .telnet-option_title .telnet-option_spilt{
display: inline-block;
width: 79.9%;
height: 1px;
background-color: lightgrey;
vertical-align: middle;
- margin-bottom: 18px;
+ /*margin-bottom: 18px;*/
}
.telnet-option .telnet-option_title{
display: inline-block;
vertical-align: middle;
margin-bottom: 18px;
+ width: 100%;
}
.auto-login-tip{
font-size: 12px;