baigl #46
|
@ -154,8 +154,6 @@ const dynamicRoutes = [
|
|||
name: 'classCorrect',
|
||||
meta: { title: '作业批改', showBread: true }
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
path: '/teach',
|
||||
component: () => import('@/views/teach/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()
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue