|
@@ -15,11 +15,11 @@ export function getPageParameters() {
|
|
|
const v = searchData[i].split("=");
|
|
|
parames[v[0]] = v[1];
|
|
|
}
|
|
|
- const key = location.pathname.replace("/", "").replace(".html", "");
|
|
|
+ const key = location.pathname.replace(".html", "").split("/").reverse();
|
|
|
return {
|
|
|
urlParames: parames,
|
|
|
orginParames: {
|
|
|
- ...jsonData[key],
|
|
|
+ ...jsonData[key[0]],
|
|
|
availWidth: window.screen.availWidth,
|
|
|
availHeight: window.screen.availHeight,
|
|
|
env: process.env.VUE_APP_ENV,
|