修复disabled问题
This commit is contained in:
@@ -1197,10 +1197,10 @@ export default {
|
|||||||
$('#giftTagImage').attr("src", '');
|
$('#giftTagImage').attr("src", '');
|
||||||
$("#giftTagUploadInfo").html('');
|
$("#giftTagUploadInfo").html('');
|
||||||
$("#giftTagFile").val('');
|
$("#giftTagFile").val('');
|
||||||
$('#giftType').removeAttr('disabled');
|
$('#giftType').removeAttr('readonly');
|
||||||
$('#subGiftType').removeAttr('disabled');
|
$('#subGiftType').removeAttr('readonly');
|
||||||
$('#baseGiftId').removeAttr('disabled');
|
$('#baseGiftId').removeAttr('readonly');
|
||||||
$('#unlockNum').removeAttr('disabled');
|
$('#unlockNum').removeAttr('readonly');
|
||||||
$('#sendDressType').val('');
|
$('#sendDressType').val('');
|
||||||
$('#sendDressId').val('');
|
$('#sendDressId').val('');
|
||||||
$('#sendDressTime').val('');
|
$('#sendDressTime').val('');
|
||||||
@@ -1603,10 +1603,10 @@ export default {
|
|||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (entity.giftType == 16) {
|
if (entity.giftType == 16) {
|
||||||
$('#giftType').attr('disabled', 'disabled');
|
$('#giftType').attr('readonly', 'readonly');
|
||||||
$('#subGiftType').attr('disabled', 'disabled');
|
$('#subGiftType').attr('readonly', 'readonly');
|
||||||
$('#baseGiftId').attr('disabled', 'disabled');
|
$('#baseGiftId').attr('readonly', 'readonly');
|
||||||
$('#unlockNum').attr('disabled', 'disabled');
|
$('#unlockNum').attr('readonly', 'readonly');
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
$this.giftUnlockList();
|
$this.giftUnlockList();
|
||||||
|
Reference in New Issue
Block a user