Jelajahi Sumber

ajaxSuccess判断修正

RuoYi 4 tahun lalu
induk
melakukan
9c763dceab

+ 1 - 1
ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css

@@ -644,7 +644,7 @@ label {
 	margin: 5px 15px 5px 0px;
 }
 
-.select-list li p, .select-list li label:not(.radio-box):not(:select-time){
+.select-list li p, .select-list li label:not(.radio-box):not(.select-time){
 	float: left;
 	width: 65px;
 	margin: 5px 5px 5px 0px;

+ 1 - 1
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js

@@ -1136,7 +1136,7 @@ var table = {
                 } else if (result.code == web_status.SUCCESS && table.options.type == table_type.bootstrapTreeTable) {
                 	$.modal.msgSuccess(result.msg);
                 	$.treeTable.refresh();
-                } else if (result.code == web_status.SUCCESS && table.option.type == undefined) {
+                } else if (result.code == web_status.SUCCESS && $.common.isEmpty(table.options.type)) {
                     $.modal.msgSuccess(result.msg)
                 }  else if (result.code == web_status.WARNING) {
                     $.modal.alertWarning(result.msg)