feat: fix hdpos protocol
parent
04cb589401
commit
dbb7be74fd
|
|
@ -24,7 +24,12 @@ onMounted(() => {
|
|||
})
|
||||
|
||||
const openVnc = (ip: string) => {
|
||||
const url = `${selectedProtocol.value}://${ip}`
|
||||
let url = ''
|
||||
|
||||
if (selectedProtocol.value === 'hdpos')
|
||||
url = `hdpos://tightvnc?ip=${ip}`
|
||||
else
|
||||
url = `${selectedProtocol.value}://${ip}`
|
||||
|
||||
window.open(url, '_blank')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue