Commit 11fc4aa2 by zhangxw

分享未拿到分享id提示

1 parent c4e57a56
......@@ -227,7 +227,7 @@ export default defineComponent({
if (newVal && routeQuery.value.sn) {
if (route.query.sharePage && JSON.parse(route.query.sharePage)) {
localStorage.setItem("sharePage", JSON.parse(route.query.sharePage));
if (route.query.shareId) {
if (route.query.shareId && route.query.shareId != "undefined") {
// 校验分享链接是否有效
CHECK_SHARE({
shareId:
......@@ -271,6 +271,8 @@ export default defineComponent({
}
}
});
} else {
Dialog({ message: "未找到分享ID" });
}
return;
} else {
......
......@@ -170,13 +170,13 @@ export default {
require("@/assets/images/car.png") +
'" style="transform: scale(0.5);" />',
map: currentMap,
offset: new window.AMap.Pixel(-8.5, -13),
offset: new window.AMap.Pixel(-17, -26),
});
beginMarker = new window.AMap.Marker({
position: lnglat,
content: '<span class="icon icon-begin" ></span>',
map: currentMap,
offset: new window.AMap.Pixel(-8.5, -13),
offset: new window.AMap.Pixel(-17, -26),
visible: false,
});
} else {
......
......@@ -345,6 +345,10 @@ export default defineComponent({
lineWidth: 6,
dirArrowStyle: true,
},
pathLineSelectedStyle: {
strokeStyle: "#EC8788",
lineWidth: 6,
},
},
});
replay.pathSimplifierIns.setData([
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!