From 8792be67cf5791a4a3afc2f72fd8d7cfc3cff353 Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期二, 15 四月 2025 15:20:28 +0800 Subject: [PATCH] change --- src/views/mnfz.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/mnfz.vue b/src/views/mnfz.vue index 14940d4..55e1e4a 100644 --- a/src/views/mnfz.vue +++ b/src/views/mnfz.vue @@ -7,6 +7,7 @@ @is-playing="isPlaying" :waterSimulateParams="waterSimulateParams" @playbackFinished="playbackFinished" + @end="endSimulate" /> <DebuffDetail v-if="showDebuffDetail" @@ -17,7 +18,7 @@ </template> <script setup> -import { ref, onMounted, onUnmounted } from "vue"; +import { ref, onMounted, onUnmounted, provide } from "vue"; import TimeLine from "@/components/menu/TimeLine.vue"; import Left from "./left/Left.vue"; import echartInfo from "@/components/monifangzhen/echartInfo.vue"; @@ -34,6 +35,12 @@ const isDynamicMode = ref(false); const isFinish = ref(true); +// 鎻愪緵鏂规硶缁欐墍鏈夊瓙缁勪欢 +provide("simulateActions", { + startSimulate, + endSimulate, +}); + function startSimulate(form) { // console.log("form", form); showWaterSimulate.value = true; -- Gitblit v1.9.3