liwei 1 year ago
parent
commit
982b480d9d

+ 1 - 1
src/modules/editor/components/CompUI/basicUI/View.tsx

@@ -85,7 +85,7 @@ export const View = defineComponent({
       let aniStyles = "";
       if (
         comp.layout.anim &&
-        (state.showAnimation || store.shortPage.next == cardIndex ) &&
+        state.showAnimation&&
         ((!props.showMask && store.isEditMode) || !store.isEditMode)
       ) {
         aniStyles = `animate__animated animate__${comp.layout.anim} animate__delay-0.1s`;

+ 1 - 1
src/modules/editor/module/index.ts

@@ -80,7 +80,7 @@ export class EditorModule extends ModuleRoot {
 
   onReady() {
     this.actions.init();
-    this.controls.animCtrl.initEvent();
+    // this.controls.animCtrl.initEvent();
     this.controls.screenCtrl.initEvent();
     this.controls.menuCtrl.initEvent();
     this.controls.categoryCtrl.init();