Commit 11fc4aa2 by zhangxw

分享未拿到分享id提示

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