浏览代码

优化依赖版本

Karson 4 年之前
父节点
当前提交
82ea7fcd15
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      composer.json
  2. 2 2
      public/assets/js/backend/addon.js

+ 1 - 1
composer.json

@@ -21,7 +21,7 @@
         "topthink/think-installer": "^1.0.14",
         "topthink/think-queue": "1.1.6",
         "topthink/think-helper": "^1.0.7",
-        "karsonzhang/fastadmin-addons": "~1.2.4",
+        "karsonzhang/fastadmin-addons": "~1.3.0",
         "overtrue/pinyin": "^3.0",
         "phpoffice/phpspreadsheet": "1.12",
         "overtrue/wechat": "4.2.11",

+ 2 - 2
public/assets/js/backend/addon.js

@@ -314,7 +314,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
                             }, function (data, ret) {
                                 Controller.api.userinfo.set(data);
                                 Layer.closeAll();
-                                Layer.alert(ret.msg, {title: __('Warning'), icon: 0});
+                                Layer.alert(ret.msg, {title: __('Warning'), icon: 1});
                                 return false;
                             }, function (data, ret) {
                             });
@@ -330,7 +330,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
                                 }
                             };
                             $(document).on('keydown', this.checkEnterKey);
-                            $(".layui-layer-btn1", layero).prop("href", "http://www.fastadmin.net/user/register.html").prop("target", "_blank");
+                            $(".layui-layer-btn1", layero).prop("href", "https://www.fastadmin.net/user/register.html").prop("target", "_blank");
                         },
                         end: function () {
                             $(document).off('keydown', this.checkEnterKey);