From 2b259242130d46e8ae497ba2447e0d19be7d2d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E4=BA=86=E4=B8=AA=E7=99=BD?= <543593352@qq.com> Date: Wed, 16 Oct 2024 14:20:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=8E=A8=E9=80=81=EF=BC=9Aro?= =?UTF-8?q?w=E6=94=B9=E4=B8=BArows=E7=BB=84=E4=BB=B6=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/tool/components/homework.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/views/tool/components/homework.vue b/src/renderer/src/views/tool/components/homework.vue index f4a053f..b5af42b 100644 --- a/src/renderer/src/views/tool/components/homework.vue +++ b/src/renderer/src/views/tool/components/homework.vue @@ -47,7 +47,7 @@ - 推送 + 推送
@@ -56,7 +56,7 @@
-
@@ -110,8 +110,11 @@ const curNode = reactive({ data: {} }) -const sendHomework = (row) => { - curRow.value = row +const sendHomework = (row,type) => { + if(type == 'item'){ + // 布置推送单个作业 + curRow.value = [row] + } setTimeout(() => { ipcMsgSend('tool-sphere:set:ignore', false) }, 200)