Commit 1049e551 by liangzhen

存下数据

1 parent 73b21250
Showing with 5 additions and 5 deletions
...@@ -170,13 +170,13 @@ export default { ...@@ -170,13 +170,13 @@ export default {
}, },
mounted() { mounted() {
console.log( console.log(
"获取父元素的local数据0",
JSON.parse(window.sessionStorage.getItem("user"))
);
console.log(
"获取父元素的local数据", "获取父元素的local数据",
JSON.parse(window.top.localStorage.getItem("user")) JSON.parse(window.top.sessionStorage.getItem("user"))
);/* */ );/* */
console.log(
"获取父元素的local数据2",
window.top.localStorage.getItem("user")
);
// this.handleOpen(0, ["0"]); // this.handleOpen(0, ["0"]);
if ( if (
this.$route.path == "/mainLayout/Compliancefz" || this.$route.path == "/mainLayout/Compliancefz" ||
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!