From eb0482b3fc2e91a626baa6ac73e75e0b0038f552 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 03 十一月 2023 01:25:59 +0800
Subject: [PATCH] 2023-11-03

---
 src/tabviews/zshare/actionList/editLine/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/zshare/actionList/editLine/index.jsx b/src/tabviews/zshare/actionList/editLine/index.jsx
index 7d29501..142d977 100644
--- a/src/tabviews/zshare/actionList/editLine/index.jsx
+++ b/src/tabviews/zshare/actionList/editLine/index.jsx
@@ -96,9 +96,9 @@
     let data = selectedData || []
     
     if (btn.funcType === 'addline') {
-      MKEmitter.emit('addRecord', btn.$tableId, data[0] || null)
+      MKEmitter.emit('addRecord' + btn.$tableId, '', data[0] ? data[0].$$uuid : null)
     } else {
-      MKEmitter.emit('delRecord', btn.$tableId, data[0] || null)
+      MKEmitter.emit('delRecord' + btn.$tableId, data[0] || null)
     }
   }
 

--
Gitblit v1.8.0