rabin 2 年之前
父节点
当前提交
b9c0a984a7
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      assets/lib/manage/main.js

+ 2 - 1
assets/lib/manage/main.js

@@ -2486,7 +2486,7 @@ function fastEdit(e, url, title, col, index, type)
 
 		//if ($(t).find('form').length && !$(t).find('#form1').length) {
 		if ($(t).find('form').length) {
-			if ($(t).find('form').length > 1) {
+			if ($(t).find('form').length > 1 && $(t).find('form').eq(1).html()) {
 				var form_1 = $(t).find('form').eq(1);
 				form_1.addClass('layui-card-body');
 			} else {
@@ -2523,6 +2523,7 @@ function fastEdit(e, url, title, col, index, type)
 			type = 2;
 			func = false;
 		}
+		showAlertFlag = false;
 		if (index == 1) {
 			showAlert(html, func, title, 19850422, type);
 		} else {