diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index 4492b0e..d51538e 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -154,8 +154,6 @@ const dynamicRoutes = [ name: 'classCorrect', meta: { title: '作业批改', showBread: true } }, - - { path: '/teach', component: () => import('@/views/teach/index.vue'), diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue index f056c9e..4661abe 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue @@ -104,9 +104,8 @@ import { delEntpcoursework } from "@/api/education/entpCourseWork"; import examDetailsDrawer from '@/components/exam-question/examDetailsDrawer.vue' import { useHandleData } from "@/hooks/useHandleData"; import { processList } from '@/hooks/useProcessList' -import { useGetHomework } from '@/hooks/useGetHomework' -import { sessionStore } from '@/utils/store' -import {throttle,debounce } from '@/utils/comm' + +import { debounce } from '@/utils/comm' import useUserStore from '@/store/modules/user' const router = useRouter() diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/index.vue index c58711b..6889920 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/index.vue @@ -244,6 +244,9 @@ const getClipboardImg = async() => { for (const item of clipboardItems) { for (const type of item.types) { if (type.includes('image/')) { + console.log('剪贴板图片type', type); + console.log('剪贴板图片item', item); + console.log('剪贴板图片clipboardItems', clipboardItems); const blob = await item.getType(type); // blob 是图片的 Blob 对象 cropOption.img = URL.createObjectURL(blob);