From 56affc6e5d4b1821623dac22d9b1212885db998d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=83=E5=BD=A9=E6=9E=AB=E5=8F=B6?= <424235748@qq.com> Date: Mon, 22 May 2023 16:23:29 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=9A=E5=9B=BE=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=97=B6=E7=9A=84bug=E5=85=A8=E9=83=A8=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=90=8E=EF=BC=8C=E5=86=8D=E4=B8=8A=E4=BC=A0=E6=96=B0?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 七彩枫叶 <424235748@qq.com> --- public/static/system/module/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/system/module/admin.js b/public/static/system/module/admin.js index ee32f62f..fb9a7063 100644 --- a/public/static/system/module/admin.js +++ b/public/static/system/module/admin.js @@ -1157,7 +1157,7 @@ layui.define(['jquery', 'i18n', 'element', 'layer', 'form', 'rate', 'table', 'sl multiple: function (res, name) { let boxList = $(that).parents('.layui-imagesbox').find('.layui-input-inline'); let length = boxList.length; - $(this).parents('form').find('input#' + name + '_clear').remove(); + that.parents('form').find('input#' + name + '_clear').remove(); $(boxList).each(function (i, item) { $(item).find('input.layui-hide').prop('name', name + '[' + i + '][src]'); $(item).find('input.layui-input').prop('name', name + '[' + i + '][title]'); -- Gitee