From 82ea7fcd151e62829a0aaff74196affaf0592c95 Mon Sep 17 00:00:00 2001 From: Karson Date: Fri, 31 Dec 2021 21:36:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BE=9D=E8=B5=96=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 2 +- public/assets/js/backend/addon.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 1de5563d..1b169946 100755 --- a/composer.json +++ b/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", diff --git a/public/assets/js/backend/addon.js b/public/assets/js/backend/addon.js index 0e83e8e9..bcdc9126 100644 --- a/public/assets/js/backend/addon.js +++ b/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);