解决筛选中文乱码问题
This commit is contained in:
parent
32b35e32c1
commit
0be2a71a8e
|
|
@ -76,7 +76,7 @@ export default {
|
||||||
const params = location.search.substr(1).split('&');
|
const params = location.search.substr(1).split('&');
|
||||||
params.forEach(param => {
|
params.forEach(param => {
|
||||||
const [key, value] = param.split('=');
|
const [key, value] = param.split('=');
|
||||||
app.$set(app.filter, key, value);
|
app.$set(app.filter, key, decodeURIComponent(value));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue