From 7e640af3bb0da07b6db6497b4188ef40322e8694 Mon Sep 17 00:00:00 2001 From: ansel0926 <ansel0926@gmail.com> Date: 星期二, 17 五月 2022 10:41:21 +0800 Subject: [PATCH] 提交 --- assets/map/map3D.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/map/map3D.js b/assets/map/map3D.js index 7d997e6..84a9345 100644 --- a/assets/map/map3D.js +++ b/assets/map/map3D.js @@ -932,7 +932,7 @@ else if(type==5){ let urlArr = val.split("/"); let newUrl=urlArr.splice(4).join("/") - $("#" + popId).children(".bx-popup-content-ctn").children(".bx-popup-content").children(".image")[0].src = val; + $("#" + popId).children(".bx-popup-content-ctn").children(".bx-popup-content").children(".image")[0].src = parent.httpConfig.nginxUrl+newUrl; saveData= { "id":signPointEntity._id, "type": "point", @@ -943,7 +943,7 @@ else if(type==6){ let urlArr = val.split("/"); let newUrl=urlArr.splice(4).join("/") - signPointEntity._billboard._image._value=parent.httpConfig.nginxUrl+newUrl;; + signPointEntity._billboard._image._value=parent.httpConfig.nginxUrl+newUrl; saveData= { "id":signPointEntity._id, "type": "point", @@ -1490,7 +1490,7 @@ content:drawEntity.popContent?drawEntity.popContent:null, }) if( drawEntity.imagePath!=null&& drawEntity.imagePath!=""){ - $("#pop_" + entity.id).children(".bx-popup-content-ctn").children(".bx-popup-content").children(".image")[0].src = parent.httpConfig.webApiUrl+drawEntity.imagePath; + $("#pop_" + entity.id).children(".bx-popup-content-ctn").children(".bx-popup-content").children(".image")[0].src = parent.httpConfig.nginxUrl+drawEntity.imagePath; } document.getElementById("pop_" +entity.id).style.display="none"; addTreeNode({ -- Gitblit v1.9.1