Commit c92e045c by hank

decode

parent 83ad9a4a
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
axios axios
.get('/contest/wechat/info', { .get('/contest/wechat/info', {
params: { params: {
url: encodeURIComponent(location.href.split('#')[0]), url: encodeURI(location.href.split('#')[0]),
type: 1 type: 1
} }
}) })
......
...@@ -493,7 +493,7 @@ export default { ...@@ -493,7 +493,7 @@ export default {
axios axios
.get('/contest/wechat/info', { .get('/contest/wechat/info', {
params: { params: {
url: encodeURIComponent(location.href.split('#')[0]), url: encodeURI(location.href.split('#')[0]),
type: 1 type: 1
} }
}) })
......
...@@ -547,7 +547,7 @@ export default { ...@@ -547,7 +547,7 @@ export default {
axios axios
.get('/contest/wechat/info', { .get('/contest/wechat/info', {
params: { params: {
url: encodeURIComponent(location.href.split('#')[0]), url: encodeURI(location.href.split('#')[0]),
type: 1 type: 1
} }
}) })
......
...@@ -108,7 +108,7 @@ export default { ...@@ -108,7 +108,7 @@ export default {
axios axios
.get('/contest/wechat/info', { .get('/contest/wechat/info', {
params: { params: {
url: encodeURIComponent(location.href.split('#')[0]), url: encodeURI(location.href.split('#')[0]),
type: 1 type: 1
} }
}) })
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
axios axios
.get('/contest/wechat/info', { .get('/contest/wechat/info', {
params: { params: {
url: encodeURIComponent(location.href.split('#')[0]), url: encodeURI(location.href.split('#')[0]),
type: 1 type: 1
} }
}) })
......
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
axios axios
.get('/contest/wechat/info', { .get('/contest/wechat/info', {
params: { params: {
url: encodeURIComponent(location.href.split('#')[0]), url: encodeURI(location.href.split('#')[0]),
type: 1 type: 1
} }
}) })
......
<template> <template>
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
axios axios
.get('/contest/wechat/info', { .get('/contest/wechat/info', {
params: { params: {
url: encodeURIComponent(location.href.split('#')[0]), url: encodeURI(location.href.split('#')[0]),
type: 1 type: 1
} }
}) })
......
<template> <template>
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
axios axios
.get('/contest/wechat/info', { .get('/contest/wechat/info', {
params: { params: {
url: encodeURIComponent(location.href.split('#')[0]), url: encodeURI(location.href.split('#')[0]),
type: 1 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