Browse Source

首页弹窗修改

yanym 1 year ago
parent
commit
c000a526cf

+ 0 - 6
suishenbang-admin/src/main/resources/templates/system/alertConfiguration/add.html

@@ -357,12 +357,6 @@
     }
 
     function upBg() {
-        var imgUrl = ctx + 'img/profile.jpg';
-        options = {
-            thumbBox: '.thumbBox',
-            spinner: '.spinner',
-            imgSrc: imgUrl
-        }
         cropper = $('.imageBox').cropbox(options);
         var img = cropper.getBlob();
         var formdata = new FormData();

+ 3 - 1
suishenbang-admin/src/main/resources/templates/system/alertConfiguration/configuration.html

@@ -122,7 +122,9 @@
                             }else{
                                 str = ctx+value;
                             }
-                            return $.table.imageView(str,218,237,"tableImage_s img-view");
+                            if (value != null){
+                                return $.table.imageView(str,218,237,"tableImage_s img-view");
+                            }
                         }
                     },
                 {