This commit is contained in:
白了个白 2024-11-20 16:20:45 +08:00
parent 5cbe56d1bf
commit 2f2350531a
3 changed files with 5 additions and 5 deletions

View File

@ -154,8 +154,6 @@ const dynamicRoutes = [
name: 'classCorrect', name: 'classCorrect',
meta: { title: '作业批改', showBread: true } meta: { title: '作业批改', showBread: true }
}, },
{ {
path: '/teach', path: '/teach',
component: () => import('@/views/teach/index.vue'), component: () => import('@/views/teach/index.vue'),

View File

@ -104,9 +104,8 @@ import { delEntpcoursework } from "@/api/education/entpCourseWork";
import examDetailsDrawer from '@/components/exam-question/examDetailsDrawer.vue' import examDetailsDrawer from '@/components/exam-question/examDetailsDrawer.vue'
import { useHandleData } from "@/hooks/useHandleData"; import { useHandleData } from "@/hooks/useHandleData";
import { processList } from '@/hooks/useProcessList' import { processList } from '@/hooks/useProcessList'
import { useGetHomework } from '@/hooks/useGetHomework'
import { sessionStore } from '@/utils/store' import { debounce } from '@/utils/comm'
import {throttle,debounce } from '@/utils/comm'
import useUserStore from '@/store/modules/user' import useUserStore from '@/store/modules/user'
const router = useRouter() const router = useRouter()

View File

@ -244,6 +244,9 @@ const getClipboardImg = async() => {
for (const item of clipboardItems) { for (const item of clipboardItems) {
for (const type of item.types) { for (const type of item.types) {
if (type.includes('image/')) { if (type.includes('image/')) {
console.log('剪贴板图片type', type);
console.log('剪贴板图片item', item);
console.log('剪贴板图片clipboardItems', clipboardItems);
const blob = await item.getType(type); const blob = await item.getType(type);
// blob Blob // blob Blob
cropOption.img = URL.createObjectURL(blob); cropOption.img = URL.createObjectURL(blob);