chore: sync latest project updates
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-03 14:42:38 +08:00
parent 8b2c36677e
commit 8fed715235
106 changed files with 6030 additions and 121 deletions

View File

@@ -4303,7 +4303,10 @@ const loadModelPackage = async () => {
}
if (props.initialView === 'floor') {
await loadFloor(currentFloor.value)
const didCommit = await loadFloor(currentFloor.value)
if (didCommit) {
emit('floorChange', currentFloor.value)
}
return
}
@@ -4330,6 +4333,7 @@ const init3DScene = async () => {
setProgress(100, '馆内三维模型加载完成')
isLoading.value = false
await syncRequestedIndoorView()
queueTargetFocus(pendingTargetFocus || props.targetFocus || null)
} catch (error) {
if (isStaleModelLoadError(error)) return
@@ -4350,6 +4354,7 @@ const handleFloorChange = async (floorId: string) => {
&& !isFloorSwitching
)
if (isCommittedSameFloor) {
emit('floorChange', requestedFloorId)
return
}

View File

@@ -501,11 +501,6 @@ watch(
{ immediate: true }
)
watch(activeFloorId, (floorId) => {
if (!floorId || loadingFloorId.value === floorId) return
renderedFloorId.value = floorId
})
const searchFieldStyle = computed(() => ({
top: props.searchTop
}))

View File

@@ -364,7 +364,7 @@ export class ExplainUseCase {
async enterExplainDetail(request: ExplainDetailEntryRequest) {
const entryTarget = await this.resolveDetailEntryTarget(request)
const shouldLoadFallbackExhibit = entryTarget.targetType === 'ITEM'
const shouldLoadFallbackExhibit = entryTarget.targetType === 'ITEM' || entryTarget.targetType === 'STOP'
const [stopInfoResult, fallbackExhibit] = await Promise.all([
this.audioPlayInfo.getStopInfo(entryTarget)
.then((stopInfo) => ({ stopInfo, error: null }))