From dda5e3d12e6c389ec44972e3abe40955e459d79a Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 04 九月 2025 18:35:03 +0800
Subject: [PATCH] 改bug
---
admin/src/views/combo/components/Edit.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/admin/src/views/combo/components/Edit.vue b/admin/src/views/combo/components/Edit.vue
index ee6f0a0..e89d27f 100644
--- a/admin/src/views/combo/components/Edit.vue
+++ b/admin/src/views/combo/components/Edit.vue
@@ -227,7 +227,7 @@
comboDetailPost(id).then(res => {
this.param = res
this.$set(this.param, 'saleDate', [res.startDate, res.endDate])
- if (res.useStartDate && res.useEndDate && res.type != 0) {
+ if (res.useStartDate && res.useEndDate && res.useType != 2) {
this.$set(this.param, 'useDate', [res.useStartDate, res.useEndDate])
}
this.$set(this.param, 'id', type == 'copy' ? null : this.param.id)
--
Gitblit v1.9.3