Skip to content

Commit

Permalink
Merge pull request #80 from SensitiveMix/master
Browse files Browse the repository at this point in the history
fix(qrcode): Replace the invalid liantu with NetEase loft qrcode
  • Loading branch information
jy03078959 authored Mar 4, 2021
2 parents 14084be + 5b437fb commit 56dd09c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/widget/PageInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
var temp = new Image()
temp.src = `${Config.VIEW_PATH}` + urlInfo.params.key
console.log('src', temp.src)
return 'https://www.liantu.com/api.php?text=' + encodeURIComponent(temp.src)
return `https://www.lofter.com/genBitmaxImage?url=${encodeURIComponent(temp.src)}&h=200&w=200`
},
outUrl: function () {
var urlInfo = common.parseURL(window.location.href)
Expand Down
2 changes: 1 addition & 1 deletion src/dialog/d-Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
qrUrl: function () {
var temp = new Image()
temp.src = this.preUrl
return 'https://www.liantu.com/api.php?text=' + encodeURIComponent(temp.src)
return `https://www.lofter.com/genBitmaxImage?url=${encodeURIComponent(temp.src)}&h=200&w=200`
},
},
methods: {
Expand Down

0 comments on commit 56dd09c

Please sign in to comment.