mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-04-20 02:26:45 +02:00
fix
This commit is contained in:
parent
36c5c2512f
commit
83cc66fced
@ -27,14 +27,14 @@ class WebVNC extends window.classes.BaseObject
|
|||||||
return new Promise (r,e) ->
|
return new Promise (r,e) ->
|
||||||
r('demo', 'demo')
|
r('demo', 'demo')
|
||||||
@client.oncopy = (text) ->
|
@client.oncopy = (text) ->
|
||||||
($ "#clipboard")[0].value = text
|
cosole.log text
|
||||||
@client.init()
|
@client.init()
|
||||||
.then () ->
|
.then () ->
|
||||||
$("#connect").click (e) ->
|
$("#connect").click (e) ->
|
||||||
me.client.connect "/opt/www/vnc.conf", {
|
me.client.connect "/opt/www/vnc.conf", {
|
||||||
bbp: 32,
|
bbp: 32,
|
||||||
flag: 3,
|
flag: 3,
|
||||||
quality: 10
|
quality: 40
|
||||||
}
|
}
|
||||||
$("#tbstatus").html "32bbp, compress JPEG & ZLib, JPEG quality 10%"
|
$("#tbstatus").html "32bbp, compress JPEG & ZLib, JPEG quality 10%"
|
||||||
$("#stop").click (e) ->
|
$("#stop").click (e) ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user