Просмотр исходного кода

修复this.appForm为null的错误

huqi 4 лет назад
Родитель
Сommit
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( this.$events && this.$events.queryLoadForm ){
+                if( this.$events && this.$events.queryLoadForm ){
                     this.appForm.addEvent( "queryLoad", function () {
                         this.fireEvent("queryLoadForm");
                     }.bind(this));