We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8b11d commit 1904dd7Copy full SHA for 1904dd7
source/pages/index/index.js
@@ -1636,6 +1636,7 @@ Page({
1636
wx.request({
1637
url: `https://z.weixin.qq.com/android/download?channel=latest`,
1638
method: 'GET',
1639
+ useHighPerformanceMode: true,
1640
redirect: 'manual',
1641
fail: (err) => {
1642
this.showErrPopup(err)
@@ -1646,7 +1647,9 @@ Page({
1646
1647
})
1648
}
1649
}).onHeadersReceived(res => {
- const url = res.header.Location;
1650
+ const urlPre = res.header.location;
1651
+ const urlPre2 = res.header.Location;
1652
+ const url = urlPre || urlPre2;
1653
this.fetchLink(url).then(isSuccess => {
1654
if (isSuccess.exists && isSuccess.fileSize !== false) this.setData({
1655
successExpBackLink: url,
0 commit comments