Explorar el Código

清空页面滚动到顶部

luolei hace 4 años
padre
commit
a570db834b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/utils/tools.js

+ 1 - 1
src/utils/tools.js

@@ -230,7 +230,7 @@ const pushAllDataList =(whichSign,action,reData,type) =>{           //回读清
             flg:true
         })
         storageLocal.remove('emrParam');
-        document.getElementById('addScrollEvent').scrollIntoView()
+        document.getElementById('EmrContainer').scrollIntoView()
        // Notify.success('页面已清空')
     }else if(type == 'preIcss'){
       store.dispatch({type: SET_READ_MODE, readMode: whichSign,isPreIcss:true});