Update peerQRCode.vue

This commit is contained in:
Donald Zou 2025-05-19 21:44:16 +08:00
parent fe9d373444
commit 11288fac20

View File

@ -42,7 +42,7 @@ export default {
description: this.selectedPeer.name, description: this.selectedPeer.name,
hostName: this.dashboardStore.Configuration.Peers.remote_endpoint hostName: this.dashboardStore.Configuration.Peers.remote_endpoint
} }
data = JSON.stringify(awgQRCodeObject) data = btoa(JSON.stringify(awgQRCodeObject))
}else{ }else{
data = res.data.file data = res.data.file
} }