Browse Source

修复this.appForm为null的错误

huqi 5 năm trước cách đây
mục cha
commit
ff9a3b59dd

+ 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));