From e5f3ac724d060728263920436a6bd083d4da470a Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Tue, 2 Apr 2024 11:28:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B6=E5=AE=83=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/users/GiftManageView.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index d1c919e..f70c7bf 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -1181,7 +1181,7 @@ export default { $("#seqNo").val(''); $("#giftId").val(''); $('#viewUploadFile').val(''); - $('#viewUrl').attr(''); + $('#viewUrl').val(''); $('#viewFile').attr("src", ''); $("#viewFileInfo").html(''); $("#startValidTime").val(''); @@ -1457,6 +1457,10 @@ export default { autoclose: true, }); $("#table").on("click", '.opt-edit', function () { + $('#viewUploadFile').val(''); + $('#viewUrl').val(''); + $('#viewFile').attr("src", ''); + $("#viewFileInfo").html(''); console.log("btnEdit"); var id = $(this).attr("data-id"); $.ajax({