Skip to content

Commit

Permalink
fix: 快站二维码失效,换用联图
Browse files Browse the repository at this point in the history
  • Loading branch information
arnan-wei committed Apr 1, 2020
1 parent 512cd75 commit 4e274b7
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.kuaizhan.com/common/encode-png?large=true&data=' + encodeURIComponent(temp.src)
return 'https://www.liantu.com/api.php?text=' + encodeURIComponent(temp.src)
},
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.kuaizhan.com/common/encode-png?large=true&data=' + encodeURIComponent(temp.src)
return 'https://www.liantu.com/api.php?text=' + encodeURIComponent(temp.src)
},
},
methods: {
Expand Down

0 comments on commit 4e274b7

Please sign in to comment.