Przeglądaj źródła

前端通知弹窗显示时间修改为 3s

reghao 4 lat temu
rodzic
commit
6614c08ced
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      dmaster/src/main/resources/static/js/main.js

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

@@ -114,7 +114,7 @@ layui.use(['element', 'form', 'layer', 'upload'], function () {
     /*  漂浮消息 */
     $.fn.Messager = function (result) {
         if (result.code === 0) {
-            layer.msg(result.msg, {offset: '15px', time: 1000, icon: 1});
+            layer.msg(result.msg, {offset: '15px', time: 3000, icon: 1});
             setTimeout(function () {
                 if (result.data === 'submit[refresh]') {
                     parent.location.reload();