wangjuncheng
2025-04-15 8792be67cf5791a4a3afc2f72fd8d7cfc3cff353
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;