- {{stuItem.name || stuItem.studentname}}
+ {{stuItem.studentname || stuItem.name}}
@@ -121,7 +121,7 @@ const groupForm = reactive({
groupname: '',
orderidx: 0,
classid: Number(props.classId),
- edituserid: userStore.id,
+ edituserid: userStore.userId,
edusubject: userStore.edusubject,
userid : 0,
studentid : 0,
@@ -188,7 +188,7 @@ const getClassInfo = () => {
const chooseItem = (item,stuIndex) => {
let formdata = {}
formdata.classid = props.classId;
- formdata.edituserid = userStore.id;
+ formdata.edituserid = userStore.userId;
formdata.userid = item.userid;
formdata.parentid = parentId.value;
formdata.studentid = item.studentid;
diff --git a/src/renderer/src/views/classManage/classInfo.vue b/src/renderer/src/views/classManage/classInfo.vue
index feacec5..0ea3c47 100644
--- a/src/renderer/src/views/classManage/classInfo.vue
+++ b/src/renderer/src/views/classManage/classInfo.vue
@@ -2,25 +2,19 @@