vue 新关上页面并传递参数
window.open(
`/#/logExploration/logContext?timestamp=${encodeURI(row["@timestamp"]
)}&warehouses=${encodeURI(row._index)}`
);
另一个页面
const temp2 = location.href.split("?")[1];
const params = new URLSearchParams(`?${temp2}`);
this.formData.warehouses = decodeURI(params.get("warehouses"));
this.formData.timestamp = decodeURI(params.get("timestamp"));