Commit 136b0313 authored by 张豪's avatar 张豪

修改分享返回按钮

parent 3701da95
...@@ -1587,12 +1587,14 @@ export default { ...@@ -1587,12 +1587,14 @@ export default {
goBack(type) { goBack(type) {
let self = this; let self = this;
if (type == "map") { if (type == "map") {
self.$store.commit("setZnztDetailsParams", { // self.$store.commit("setZnztDetailsParams", {
type: "", // type: "",
queryType: "webmap", // queryType: "webmap",
id: self.portal_id, // id: self.portal_id,
}); // });
this.$router.push("/intelligent_drawing"); // this.$router.push("/intelligent_drawing");
let shareWebMapParam =JSON.parse(window.sessionStorage.getItem('shareWebMapParam'))
window.location.href = '/vmap/#/map'+`?id=${shareWebMapParam.portalid}`
} else if (type == "process") { } else if (type == "process") {
this.$router.push("/progress/designer"); this.$router.push("/progress/designer");
} }
......
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 to comment