diff --git a/src/renderer/src/components/grid-pic/index.vue b/src/renderer/src/components/grid-pic/index.vue index 8913651..4769a98 100644 --- a/src/renderer/src/components/grid-pic/index.vue +++ b/src/renderer/src/components/grid-pic/index.vue @@ -1,26 +1,35 @@ 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(() => {