fix: 修复add-endpoint时会自动补全port问题

This commit is contained in:
chenjinsong
2021-05-21 18:29:40 +08:00
parent 94c35fd985
commit a202a88785
4 changed files with 351 additions and 362 deletions

View File

@@ -318,7 +318,7 @@ export default {
show: true
},
{
label: this.$t('asset.host'),
label: this.$t('asset.manageIp'),
prop: 'manageIp',
show: true
}
@@ -430,6 +430,17 @@ export default {
handler (n) {
this.getTableData()
}
},
'editData.editType': {
immediate: true,
deep: true,
handler (n) {
if (n !== assetConstants.editTypeData.account) {
this.editData.authProtocol = 0
} else {
this.getTableData()
}
}
}
}
}