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)