Przeglądaj źródła

Merge branch 'master' of http://git.izouma.com/xiongzhu/paimaide

panhui 3 lat temu
rodzic
commit
8137c5f3f0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/DistributionPage.vue

+ 1 - 1
src/views/DistributionPage.vue

@@ -167,7 +167,7 @@ export default {
             function loadQR(text) {
                 return new Promise((resolve, reject) => {
                     qrcode.toDataURL(
-                        `http://35.76.121.189/download.html?invitor=${userId}`,
+                        `${location.origin}/download.html?invitor=${userId}`,
                         { width: 335, height: 335, margin: 0 },
                         function (err, url) {
                             if (err) {