加了以后在layaMaxUI.js里面又报错了

这是layaMaxUI.js
/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */
var View=Laya.View;
var Dialog=Laya.Dialog;
var Scene=Laya.Scene;
var REG = Laya.ClassUtils.regClass;
export class kick_effectUI extends EffectAnimation { //然后又改成Laya.EffectAnimation
constructor(){
super();
this.ani1=null;
this.effectData =ui.kick_effectUI.uiView;;
}
}
kick_effectUI.uiView={"type":"View","props":{},"compId":2,"child":[{"type":"Sprite","props":{"y":0,"x":0,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":0},{"value":0.5,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":2},{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":10}],"scaleX":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleX","index":0},{"value":0.5,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleX","index":2},{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleX","index":10}],"drawCallOptimize":[{"value":false,"tweenMethod":"linearNone","tween":false,"target":3,"key":"drawCallOptimize","index":0}]}}],"name":"ani1","id":1,"frameRate":24,"action":0}],"loadList":["ani/p1.png"],"loadList3D":[]};
REG("ui.kick_effectUI",kick_effectUI);
把EffectAnimation改成Laya.EffectAnimation 后又报错