diff --git a/public/static/system/module/admin.js b/public/static/system/module/admin.js index ee32f62ffe2580b4ad60f993a92b898d6c96ffc1..fb9a706352e25858135ddbc1454f84499196e20b 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]');