From 257efe272b5e3798bd22215b761f445b84f88371 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期六, 08 二月 2025 17:19:04 +0800
Subject: [PATCH] 改bug

---
 admin/src/views/contract/components/terminateLease.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/admin/src/views/contract/components/terminateLease.vue b/admin/src/views/contract/components/terminateLease.vue
index 0f0fd5d..ac7f8f2 100644
--- a/admin/src/views/contract/components/terminateLease.vue
+++ b/admin/src/views/contract/components/terminateLease.vue
@@ -96,7 +96,7 @@
                             <i class="el-icon-delete"
                                style="color: red; margin-left: 10px; font-size: 18px; cursor: pointer;"
                                @click="deleRow(scope.$index)"
-                               v-if="scope.row.date && scope.row.date.length !==0">
+                               v-if="scope.row.isDele">
                             </i>
                         </div>
                     </template>
@@ -370,9 +370,9 @@
         })
       },
       getObjS (obj) {
-        console.log(obj)
         obj.startDate = obj.startDate.substring(0, 10)
         obj.endDate = obj.endDate.substring(0, 10)
+        obj.isDele = true
         this.info.terminateList.push(obj)
         this.countData()
       },

--
Gitblit v1.9.3