diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 9892a18..913d028 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -1617,7 +1617,7 @@ export default { data: $('#giftForm').serialize(), dataType: "json", success: function (json) { - if (json.success == 'true') { + if (json.code == 200) { $("#giftModal").modal('hide'); $("#tipMsg").text("保存成功"); $("#tipModal").modal('show');