From 66840364cc513959c5e232cc2fa14e431056e8cc Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 7 Jun 2023 17:17:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=98=AFname=E5=B8=A6=E6=9C=89=E4=B8=AD=E6=8B=AC?= =?UTF-8?q?=E5=8F=B7=E6=97=B6=E8=A1=A8=E7=8E=B0=E5=BC=82=E5=B8=B8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/plugs/easy-admin/easy-admin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/static/plugs/easy-admin/easy-admin.js b/public/static/plugs/easy-admin/easy-admin.js index 32aeff3..645838f 100644 --- a/public/static/plugs/easy-admin/easy-admin.js +++ b/public/static/plugs/easy-admin/easy-admin.js @@ -2104,8 +2104,8 @@ define(["jquery", "ckeditor", 'miniTheme', 'tableData', 'citypicker', 'tagInput' var urlString = $(this).val(), urlArray = urlString.split(uploadSign), uploadIcon = $(uploadElem).attr('data-upload-icon') || "file"; - - $('#bing-' + uploadName).remove(); + var uploadNameKey = uploadName.replace(/\[/g, "-").replace(/\]/g, "-"); + $('#bing-' + uploadNameKey).remove(); if (urlString.length > 0) { var parant = $(this).parent('div'); var liHtml = ''; @@ -2129,7 +2129,7 @@ define(["jquery", "ckeditor", 'miniTheme', 'tableData', 'citypicker', 'tagInput' } }); - parant.after(''); + parant.after(''); } });