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