소스 검색

修复this.appForm为null的错误

huqi 5 년 전
부모
커밋
ff9a3b59dd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      o2web/source/x_component_process_Work/Main.js

+ 1 - 1
o2web/source/x_component_process_Work/Main.js

@@ -727,7 +727,7 @@ MWF.xApplication.process.Work.Main = new Class({
 
 
                 if  (layout.desktop.type !== "layout") layout.appForm = this.appForm;
                 if  (layout.desktop.type !== "layout") layout.appForm = this.appForm;
 
 
-                    if( this.$events && this.$events.queryLoadForm ){
+                if( this.$events && this.$events.queryLoadForm ){
                     this.appForm.addEvent( "queryLoad", function () {
                     this.appForm.addEvent( "queryLoad", function () {
                         this.fireEvent("queryLoadForm");
                         this.fireEvent("queryLoadForm");
                     }.bind(this));
                     }.bind(this));