From efd121b6f7bd284b40cc266d09e34908157b1658 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期三, 06 八月 2025 20:41:28 +0800
Subject: [PATCH] 删除后内容清空

---
 src/views/flow/components/TodolistLeft.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/flow/components/TodolistLeft.vue b/src/views/flow/components/TodolistLeft.vue
index 171c421..3d96254 100644
--- a/src/views/flow/components/TodolistLeft.vue
+++ b/src/views/flow/components/TodolistLeft.vue
@@ -1,7 +1,7 @@
 <!--
  * @Date: 2025-07-01 20:45:15
  * @LastEditors: gaoshp
- * @LastEditTime: 2025-08-06 20:16:01
+ * @LastEditTime: 2025-08-06 20:40:36
  * @FilePath: /mdmweb/src/views/flow/components/TodolistLeft.vue
 -->
 <template>
@@ -174,7 +174,10 @@
             this.$emit('selection-change',this.tableData)
         },
         showContent (row, column, event) {
-            if(!row?.id) return this.appContent = '';
+            if(!row?.id) {
+                this.showContentId = ''
+                return this.appContent = '';
+            }
             this.showContentId = row.id
             getContent(row.id).then(res => {
                 if(res.data.code === 200) {

--
Gitblit v1.9.3