rabin 1 year ago
parent
commit
b9c0a984a7
1 changed files with 2 additions and 1 deletions
  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 {