From b41eaa4cda20ce5b480f31b635ff47f98f8d7969 Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Tue, 16 Apr 2024 11:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A4=BC=E7=89=A9=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/users/GiftManageView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index cfc9190..2d3cc82 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -1373,8 +1373,6 @@ export default { }); $("#save").click(function () { - // 将修改后的对象转换回序列化字符串 - let newSerializeStr = $.param(formData); if ($("#giftForm").validationEngine('validate')) { $("#consumeType").removeAttr("disabled"); // 获取序列化字符串并转换为对象 @@ -1401,6 +1399,8 @@ export default { partitionFlag |= partitionFlagArray[i].value; } formData.partitionFlag = partitionFlag; + // 将修改后的对象转换回序列化字符串 + let newSerializeStr = $.param(formData); $.ajax({ type: "post", url: "/admin/gift/save.action",