fix: 测试地图路径
This commit is contained in:
parent
fbd014f784
commit
f5310b8724
@ -56,7 +56,7 @@ export default defineConfig(({ command, mode }) => {
|
|||||||
: '/'
|
: '/'
|
||||||
const resolvedBase =
|
const resolvedBase =
|
||||||
command === 'build' ? normalizeBasePath(baseCandidate) : '/'
|
command === 'build' ? normalizeBasePath(baseCandidate) : '/'
|
||||||
const cesiumBaseUrl = resolvedBase === '/' ? '/cesium' : `${resolvedBase}cesium`
|
const cesiumBaseUrl = resolvedBase === '/' ? '/cesium' : `/cesium`
|
||||||
|
|
||||||
return {
|
return {
|
||||||
base: resolvedBase,
|
base: resolvedBase,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user