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

修改分享返回按钮

parent 3701da95
......@@ -1587,12 +1587,14 @@ export default {
goBack(type) {
let self = this;
if (type == "map") {
self.$store.commit("setZnztDetailsParams", {
type: "",
queryType: "webmap",
id: self.portal_id,
});
this.$router.push("/intelligent_drawing");
// self.$store.commit("setZnztDetailsParams", {
// type: "",
// queryType: "webmap",
// id: self.portal_id,
// });
// 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") {
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