Merge branch 'dev_aliyun' into topic_bank

topic_bank
hjm 6 years ago
commit 0b212bb692

@ -297,8 +297,9 @@ class App extends Component {
const wx = window.wx const wx = window.wx
const url = '/wechats/js_sdk_signature.json' const url = '/wechats/js_sdk_signature.json'
const currentUrl = window.location.href.split('#')[0] const currentUrl = window.location.href.split('#')[0]
// window.encodeURIComponent()
axios.post(url, { axios.post(url, {
url: window.__testUrl || window.encodeURIComponent(currentUrl), url: window.__testUrl || currentUrl,
}).then((response) => { }).then((response) => {
console.log('got res') console.log('got res')
const data = response.data; const data = response.data;

Loading…
Cancel
Save