Browse Source

Merge branch 'v1.9.0-jm' of http://192.168.0.115:3000/bill/fuse-code into v1.9.0-jm

xzw 8 months ago
parent
commit
bee0d3ddae
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/sdk/association/path.ts

+ 2 - 1
src/sdk/association/path.ts

@@ -7,6 +7,7 @@ import { groupProxy } from "@/store/group";
 import { isScenePlayRun, pauseScene, playScene } from "@/utils/full";
 import { analysisPose, setPose } from ".";
 import { custom, showPathsStack, showPathStack } from "@/env";
+import { Message } from "bill/expose-common";
 
 // -----------------导览线关联--------------------
 export type PathNode = Path;
@@ -49,7 +50,7 @@ export const playScenePath = async (
   forceFull = false,
 ) => {
   const node = getPathNode(path)
-  if (!node) return null;
+  if (!node) return Message.error('路径所在模型被删除,无法播放');;
 
   showPathsStack.push(ref(false))
   showPathStack.push(ref(path.id))