diff --git a/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue b/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue index 6a20cf4a..84efe313 100644 --- a/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue +++ b/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue @@ -8,7 +8,7 @@ ref="MapboxComponent" /> -
+
@@ -107,6 +110,9 @@ width="100px" height="100px" :src="`${VITE_GLOB_API_URL}/${imageItem}`" + :preview="{ + getContainer, + }" >
@@ -153,6 +159,9 @@ width="100px" height="100px" :src="`${VITE_GLOB_API_URL}/${imageItem}`" + :preview="{ + getContainer, + }" >
@@ -405,6 +414,9 @@ const downLoadFile = (url) => { window.open(`${VITE_GLOB_API_URL}/${url}`, 'mozillaTab'); }; + const getContainer = () => { + return document.getElementById('info-container') + }