mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-10-07 15:57:53 +08:00
feat: 添加win断开按钮
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
{{ isConnecting ? '连接中' : '重连' }}
|
||||
</el-button>
|
||||
<el-button type="info" size="small" @click="moveToBackground"> 挂起 </el-button>
|
||||
<el-button type="danger" size="small" @click="() => $emit('disconnect')"> 断开 </el-button>
|
||||
<el-button
|
||||
v-show="isMobile()"
|
||||
type="success"
|
||||
@@ -148,7 +149,7 @@ const props = defineProps({
|
||||
}
|
||||
})
|
||||
|
||||
const emit = defineEmits(['close:dialog', 'status:change',])
|
||||
const emit = defineEmits(['close:dialog', 'status:change', 'disconnect',])
|
||||
|
||||
const rdpContainer = ref(null)
|
||||
let client = ref(null)
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
:host="item"
|
||||
@close:dialog="() => item.show = false"
|
||||
@status:change="(status) => handleStatusChange(item.id, status)"
|
||||
@disconnect="() => handleRemoveRdpTab(item)"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user