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
}