NEZ-2673 fix:Data centers通过Asset打开Terminal未修改
This commit is contained in:
@@ -78,6 +78,11 @@ export default {
|
||||
assetBox,
|
||||
alertSilenceBox
|
||||
},
|
||||
computed: {
|
||||
externalTerminal () {
|
||||
return this.$store.getters.getExternalTerminal
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
url: '/asset/asset',
|
||||
@@ -219,7 +224,12 @@ export default {
|
||||
host: row.manageIp,
|
||||
port: row.authProtocolPort
|
||||
}
|
||||
this.$store.commit('addConsole', consoleParam)
|
||||
if (!this.externalTerminal) {
|
||||
this.$store.dispatch('dispatchExternalTerminal', consoleParam)
|
||||
} else {
|
||||
this.$store.dispatch('dispatchOpenExternalTerminalWindow', consoleParam)
|
||||
}
|
||||
// this.$store.commit('addConsole', consoleParam)
|
||||
},
|
||||
getTableData (params) {
|
||||
if (params && Object.keys(params).length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user