|
@@ -31,9 +31,10 @@ export default {
|
|
|
if (!this.exchange) return;
|
|
|
//二维码地址应该是变量,不过这里需要处理
|
|
|
let uri = `${this.config.weixin.baseUrl}${this.uri}`;
|
|
|
- if (uri.startsWith('/')) {
|
|
|
- uri = `${location.protocol}//${location.host}${uri}`;
|
|
|
- }
|
|
|
+ console.log(uri);
|
|
|
+ // if (uri.startsWith('/')) {
|
|
|
+ // uri = `${location.protocol}//${location.host}${uri}`;
|
|
|
+ // }
|
|
|
this.dataUrl = await QRCode.toDataURL(uri);
|
|
|
|
|
|
this.$stomp({
|