From 60a2bf981b20d7a9498c63736a94b678f8473ecc Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Tue, 30 Jan 2024 19:02:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddisabled=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/users/GiftManageView.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 0488a3e..b2e289b 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -1197,10 +1197,10 @@ export default { $('#giftTagImage').attr("src", ''); $("#giftTagUploadInfo").html(''); $("#giftTagFile").val(''); - $('#giftType').removeAttr('disabled'); - $('#subGiftType').removeAttr('disabled'); - $('#baseGiftId').removeAttr('disabled'); - $('#unlockNum').removeAttr('disabled'); + $('#giftType').removeAttr('readonly'); + $('#subGiftType').removeAttr('readonly'); + $('#baseGiftId').removeAttr('readonly'); + $('#unlockNum').removeAttr('readonly'); $('#sendDressType').val(''); $('#sendDressId').val(''); $('#sendDressTime').val(''); @@ -1603,10 +1603,10 @@ export default { } setTimeout(() => { if (entity.giftType == 16) { - $('#giftType').attr('disabled', 'disabled'); - $('#subGiftType').attr('disabled', 'disabled'); - $('#baseGiftId').attr('disabled', 'disabled'); - $('#unlockNum').attr('disabled', 'disabled'); + $('#giftType').attr('readonly', 'readonly'); + $('#subGiftType').attr('readonly', 'readonly'); + $('#baseGiftId').attr('readonly', 'readonly'); + $('#unlockNum').attr('readonly', 'readonly'); } }, 1000); $this.giftUnlockList();