From 44db1b535c6c89c20fb672977eba6545ee963ff7 Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Thu, 13 Feb 2025 10:34:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A4=BC=E7=89=A9=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=8B=BE=E9=80=89=E5=BC=82=E5=B8=B8=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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 4236c6a..2eac7ed 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -1283,6 +1283,7 @@ export default { $("input:checkbox[name='partitionFlag']")[0].checked = false; $("input:checkbox[name='partitionFlag']")[1].checked = false; $("input:checkbox[name='partitionFlag']")[2].checked = false; + $("input:checkbox[name='partitionFlag']")[3].checked = false; console.log("btnEdit"); var id = $(this).attr("data-id"); $this.files = {}; @@ -1441,6 +1442,11 @@ export default { } else { $("input:checkbox[name='partitionFlag']")[2].checked = false; } + if ((partitionFlag & 8) != 0) { + $("input:checkbox[name='partitionFlag']")[3].checked = true; + } else { + $("input:checkbox[name='partitionFlag']")[3].checked = false; + } // 打开编辑弹窗 $("#giftModal").modal('show'); } else {