mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-13 06:54:18 +00:00
fix: 修复系统工具切换时 清空终端信息
This commit is contained in:
parent
2f80b66b07
commit
b3670fe528
@ -4,7 +4,7 @@
|
||||
<div>
|
||||
<el-form ref="testForm" label-width="20%" :model="testData" :rules="testRules">
|
||||
<el-form-item :label="$t('setting.basicTools')">
|
||||
<el-radio-group v-model="testData.tool_type">
|
||||
<el-radio-group v-model="testData.tool_type" @change="changeToolType">
|
||||
<el-radio v-for="t in tools" :key="t" :label="t" />
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
@ -55,6 +55,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
changeToolType() {
|
||||
this.testResp = ''
|
||||
},
|
||||
enableWS() {
|
||||
this.testResp = ''
|
||||
const scheme = document.location.protocol === 'https:' ? 'wss' : 'ws'
|
||||
|
Loading…
Reference in New Issue
Block a user