Browse Source

更新返回的消息

reghao 2 years ago
parent
commit
ee4161cf09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      manager/src/main/resources/static/js/main.js

+ 1 - 1
manager/src/main/resources/static/js/main.js

@@ -198,7 +198,7 @@ layui.use(['element', 'form', 'layer', 'upload'], function () {
             if (result.code === 0) {
                 window.location.href = result.msg
             } else {
-                $.fn.Messager(result.msg);
+                $.fn.Messager(result);
             }
         });
     });