From 87a50c397f4255b095b45f341214fac894368154 Mon Sep 17 00:00:00 2001 From: yangws <1607839436@qq.com> Date: Mon, 23 Sep 2024 09:20:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:2.0.4bug=E4=BF=AE=E6=94=B9;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/classManage/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/views/classManage/index.vue b/src/renderer/src/views/classManage/index.vue index c3c25c7..058a0f9 100644 --- a/src/renderer/src/views/classManage/index.vue +++ b/src/renderer/src/views/classManage/index.vue @@ -302,7 +302,7 @@ addClasses({classIds:classids.value.join(','),userId:userStore.userId}).then(res => { if (res.code === 200) { dialogVisible.value = false - ElMessage({x + ElMessage({ message: res.msg, type: 'success', }) From c1d6cb776701bbc57cca8a7dcb8903b60f5204e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Tue, 24 Sep 2024 13:55:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E8=A7=A3=E9=99=A4=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E7=9A=84=E9=83=A8=E5=88=86=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/classManage/aside.vue | 4 - .../src/views/classManage/classInfo.vue | 5 -- src/renderer/src/views/classManage/index.vue | 81 ------------------- 3 files changed, 90 deletions(-) diff --git a/src/renderer/src/views/classManage/aside.vue b/src/renderer/src/views/classManage/aside.vue index f7ee23f..346c89d 100644 --- a/src/renderer/src/views/classManage/aside.vue +++ b/src/renderer/src/views/classManage/aside.vue @@ -38,10 +38,6 @@ const handleSelect = (itemDom,pathKey) => { const result = parts.slice(0, 2).join("-") const index = props.menuItems.findIndex(item=>item.index===result) const id = props.classList[pathKey[0]].id - // router.push({ - // path: `${props.menuItems[index].path}/${id}`, - // query: { id } - // }) emits('handleSelect',{index,id}) } const menuClick = (item,index) => { diff --git a/src/renderer/src/views/classManage/classInfo.vue b/src/renderer/src/views/classManage/classInfo.vue index 4919083..2e8d948 100644 --- a/src/renderer/src/views/classManage/classInfo.vue +++ b/src/renderer/src/views/classManage/classInfo.vue @@ -1,10 +1,5 @@