Commit c92e045c by hank

decode

parent 83ad9a4a
......@@ -140,7 +140,7 @@ export default {
axios
.get('/contest/wechat/info', {
params: {
url: encodeURIComponent(location.href.split('#')[0]),
url: encodeURI(location.href.split('#')[0]),
type: 1
}
})
......
......@@ -493,7 +493,7 @@ export default {
axios
.get('/contest/wechat/info', {
params: {
url: encodeURIComponent(location.href.split('#')[0]),
url: encodeURI(location.href.split('#')[0]),
type: 1
}
})
......
......@@ -547,7 +547,7 @@ export default {
axios
.get('/contest/wechat/info', {
params: {
url: encodeURIComponent(location.href.split('#')[0]),
url: encodeURI(location.href.split('#')[0]),
type: 1
}
})
......
......@@ -108,7 +108,7 @@ export default {
axios
.get('/contest/wechat/info', {
params: {
url: encodeURIComponent(location.href.split('#')[0]),
url: encodeURI(location.href.split('#')[0]),
type: 1
}
})
......
......@@ -58,7 +58,7 @@ export default {
axios
.get('/contest/wechat/info', {
params: {
url: encodeURIComponent(location.href.split('#')[0]),
url: encodeURI(location.href.split('#')[0]),
type: 1
}
})
......
......@@ -164,7 +164,7 @@ export default {
axios
.get('/contest/wechat/info', {
params: {
url: encodeURIComponent(location.href.split('#')[0]),
url: encodeURI(location.href.split('#')[0]),
type: 1
}
})
......
<template>
<template>
......@@ -149,7 +149,7 @@ export default {
axios
.get('/contest/wechat/info', {
params: {
url: encodeURIComponent(location.href.split('#')[0]),
url: encodeURI(location.href.split('#')[0]),
type: 1
}
})
......
<template>
<template>
......@@ -152,7 +152,7 @@ export default {
axios
.get('/contest/wechat/info', {
params: {
url: encodeURIComponent(location.href.split('#')[0]),
url: encodeURI(location.href.split('#')[0]),
type: 1
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment