Sfoglia il codice sorgente

工料机组成物表焦点问题

zhongzewei 7 anni fa
parent
commit
3a569fd61a
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      web/maintain/std_glj_lib/js/gljComponent.js

+ 6 - 0
web/maintain/std_glj_lib/js/gljComponent.js

@@ -487,6 +487,12 @@ let gljComponentOprObj = {
             sheetCommonObj.cleanData(me.workBook.getSheet(0), me.setting, -1);
             sheetsOprObj.showData(me.workBook.getSheet(0), me.setting, that.currentComponent);
         }
+        let focusInter = setInterval(function () {
+            if(!$('#loadingPage').is(':visible')){
+                me.workBook.focus(true);
+                clearInterval(focusInter);
+            }
+        }, 100);
     },
     updateComponent: function (updateArr) {
         let me = gljComponentOprObj, that = repositoryGljObj;