Explorar o código

工料机组成物表焦点问题

zhongzewei %!s(int64=7) %!d(string=hai) anos
pai
achega
3a569fd61a
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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;