浏览代码

移除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


部分文件因为文件数量过多而无法显示