From 8dfb104068051a871021d1f39608c56eb918fb23 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 27 Sep 2022 13:47:53 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E5=9C=B0=E5=9B=BE=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/latlngPicker.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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