Browse Source

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

xzw 7 months ago
parent
commit
40e25452f1
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/guide/path/sign.vue

+ 5 - 2
src/views/guide/path/sign.vue

@@ -16,7 +16,7 @@
           type="preview"
           class="icon"
           ctrl
-          @click="playScenePath(path, true)"
+          @click.stop="playHandler()"
           v-if="path.points.length"
         />
       </div>
@@ -57,7 +57,10 @@ const actions = {
   edit: () => emit("edit"),
   delete: () => emit("delete"),
 };
-
+const playHandler = () => {
+  node.value?.focus(true);
+  playScenePath(props.path, true);
+};
 const focus = ref(false);
 const hover = ref(false);
 const node = computed(() => getPathNode(props.path.id));