|
@@ -46,7 +46,7 @@ import GlobalFrame from "./right/frame.vue";
|
|
|
import Bottom from "./bottom.vue";
|
|
|
import BottomPano from "@/layout/bottom-pano.vue";
|
|
|
import router from "@/router";
|
|
|
-import { enterEdit } from "@/store";
|
|
|
+import { enterEdit, sysBus } from "@/store";
|
|
|
import { useViewStack } from "@/hook";
|
|
|
import { ams, AnimationModel, autoSaveAnimationModel } from "@/store/animation";
|
|
|
import { computed, nextTick, onUnmounted, reactive, ref, watch, watchEffect } from "vue";
|
|
@@ -69,6 +69,9 @@ import { useRMenus } from "@/components/right-menu";
|
|
|
|
|
|
enterEdit(() => router.back());
|
|
|
useViewStack(autoSaveAnimationModel);
|
|
|
+sysBus.on("leave", () => {
|
|
|
+ updateFocus();
|
|
|
+});
|
|
|
useViewStack(() => {
|
|
|
const showRight = ref(false);
|
|
|
return mergeFuns(
|