修复导览与讲解位置预览逻辑
This commit is contained in:
@@ -161,19 +161,30 @@ export interface SgsRouteStepNodePayload {
|
||||
nodeType?: string | null
|
||||
x?: number | null
|
||||
y?: number | null
|
||||
z?: number | null
|
||||
}
|
||||
|
||||
export interface SgsRoutePathPointPayload {
|
||||
x?: number | null
|
||||
y?: number | null
|
||||
z?: number | null
|
||||
}
|
||||
|
||||
export interface SgsRouteSegmentPayload {
|
||||
floorId?: string | number | null
|
||||
floorCode?: string | null
|
||||
floorName?: string | null
|
||||
startNodeId?: string | number | null
|
||||
endNodeId?: string | number | null
|
||||
startNodeName?: string | null
|
||||
endNodeName?: string | null
|
||||
segmentType?: string | null
|
||||
type?: string | null
|
||||
transferType?: string | null
|
||||
distance?: number | null
|
||||
duration?: number | null
|
||||
pathGeoJson?: string | null
|
||||
pathPoints?: SgsRoutePathPointPayload[]
|
||||
nodePathIds?: Array<string | number | null>
|
||||
}
|
||||
|
||||
|
||||
@@ -230,7 +230,7 @@ export const createStaticNavAssetsProvider = (
|
||||
manifestRequest = requestJson<StaticNavManifestPayload>(provider.assetUrl('app_nav_manifest.json'))
|
||||
.then((data) => {
|
||||
if (data.status !== 'pass') {
|
||||
throw new Error('室内导览资源包状态不是 pass')
|
||||
throw new Error('馆内导览资源包状态不是 pass')
|
||||
}
|
||||
|
||||
manifestCache = data
|
||||
|
||||
Reference in New Issue
Block a user