diff --git a/src/renderer/src/components/set-homework/index.vue b/src/renderer/src/components/set-homework/index.vue index 08b92a8..b890ff3 100644 --- a/src/renderer/src/components/set-homework/index.vue +++ b/src/renderer/src/components/set-homework/index.vue @@ -244,7 +244,8 @@ const onSubmit = (formEl) => { entpcourseworklist: '[' + props.rows[i].entpcourseworklist + ']', needMsgNotifine: 'false', msgkey: 'newclasswork', - title: '作业任务', + //title: '作业任务', + title: props.rows[i].title, msgcontent: '', teachername: userInfo.nickName, unixstamp: new Date().getTime(), @@ -254,6 +255,7 @@ const onSubmit = (formEl) => { ary.push(obj) } } + console.log('ary->', ary) setLoading.value = true saveByClassWorkArray({ classworkarray: JSON.stringify(ary)