소스 검색

移除layer加载loading,改用添加全局loading

zhouchenglin 6 년 전
부모
커밋
9d37e098aa
2개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      src/main/webapp/static/js/common.js
  2. 0 0
      src/main/webapp/static/plugins/layer/theme/default/layer.css

+ 11 - 0
src/main/webapp/static/js/common.js

@@ -618,3 +618,14 @@ switchUtils = {
         return $($switch.selector).data(key);
     }
 }
+
+/** 页面loading **/
+dialogLoading(true);
+
+document.addEventListener('DOMContentLoaded', function(){
+    dialogLoading(false)
+});
+
+setTimeout(function() {
+    dialogLoading(false)
+}, 1000);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
src/main/webapp/static/plugins/layer/theme/default/layer.css


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.