rabin 3 년 전
부모
커밋
ef28105c58
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      assets/lib/manage/main.js

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

@@ -2221,7 +2221,10 @@ function fastEdit(e, url, title, col, index, type)
 			showAlert(html, func, title, false, type);
 		}
 		$('.layui-layer-content').css('overflow-x', 'hidden');
-		$('#update_button').hide();
+		if ($('#update_button').length) {
+			$('#update_button').hide();
+		}
+		
 		layui.use(['formSelects', 'form'], function(){
 			var form = layui.form; 
 			form.render();