From 0ab34e7aa3c8a0432e0b12c3c7989c9dcb7f13c6 Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Fri, 20 Dec 2024 09:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/layout/components/Aside.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/layout/components/Aside.vue b/src/renderer/src/layout/components/Aside.vue index 3c6456f..ed60198 100644 --- a/src/renderer/src/layout/components/Aside.vue +++ b/src/renderer/src/layout/components/Aside.vue @@ -57,9 +57,9 @@ import { ref, watch , reactive, onMounted, onBeforeMount, computed} from 'vue' import { useRouter } from 'vue-router' import { ElMessageBox, ElMessage } from 'element-plus' import useUserStore from '@/store/modules/user' -import { sessionStore } from '@/utils/store' import pkc from "../../../../../package.json" import defaultUserImg from '@/assets/images/img-avatar.png' +import { sessionStore } from '@/utils/store' const { ipcRenderer } = window.electron || {} @@ -183,7 +183,7 @@ watch( const logout = () => { - if(!!sessionstore.get('curr.classcourse'))return ElMessage.warning('当前正在上课,请先结束上课') + if(!!sessionStore.get('curr.classcourse'))return ElMessage.warning('当前正在上课,请先结束上课') ElMessageBox.confirm('确认退出系统吗?', '提示', { confirmButtonText: '确定', @@ -212,7 +212,7 @@ onMounted(() => {