diff --git a/nezha-fronted/src/components/common/latlngPicker.vue b/nezha-fronted/src/components/common/latlngPicker.vue index 3b228085d..f70a65ea4 100644 --- a/nezha-fronted/src/components/common/latlngPicker.vue +++ b/nezha-fronted/src/components/common/latlngPicker.vue @@ -81,7 +81,7 @@ export default { const z = urlParams[urlParams.length - 3] const x = urlParams[urlParams.length - 2] const y = urlParams[urlParams.length - 1] - const newUrl1 = `nzMap://static/Titles/${z}/${x}/${y}.pbf` + const newUrl1 = `nzMap:///static/Titles/${z}/${x}/${y}.pbf` return { url: newUrl1, credentials: 'include', @@ -91,7 +91,7 @@ export default { } if (resourceType === 'SpriteJSON') { return { - url: 'nzMap://static/Titles/sprite.json', + url: 'nzMap:///static/Titles/sprite.json', credentials: 'include', method: 'GET' // Include cookies for cross-origin requests @@ -99,7 +99,7 @@ export default { } if (resourceType === 'SpriteImage') { return { - url: 'nzMap://static/Titles/sprite.png', + url: 'nzMap:///static/Titles/sprite.png', credentials: 'include', method: 'GET' // Include cookies for cross-origin requests