Browse Source

上传控制无表格不处理

namejr 4 years ago
parent
commit
d575f04a8c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      EBook.Web/Common/tasklib_book.js

+ 3 - 0
EBook.Web/Common/tasklib_book.js

@@ -203,6 +203,9 @@ var DealImageWFunc = function (Item, WidthVal) {
     });
 };
 var AdjustTableFunc = function () {
+    if ($("table").length == 0) {
+        return;
+    }
     // 添加宽度处理
     var ScreenWidth = $(document.body).width();
     var TempMinWidth = GetMinTableVal(ScreenWidth);