add webremote url in modal

This commit is contained in:
vapormusic 2022-01-22 11:00:37 +07:00
parent 82f049dcd2
commit 2db8c535a0
4 changed files with 11 additions and 4 deletions

View file

@ -231,6 +231,7 @@ const app = new Vue({
loadingState: 0, // 0 loading, 1 loaded, 2 error
id: ""
},
webremoteurl : "",
webremoteqr: "",
mxmtoken: "",
mkIsReady: false,
@ -3298,6 +3299,7 @@ const app = new Vue({
},
async showWebRemoteQR(){
this.webremoteqr = await ipcRenderer.invoke('setRemoteQR','')
this.webremoteurl = await ipcRenderer.invoke('setRemoteURL','')
this.modals.qrcode = true;
}