修复disabled问题
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user