From a4018617dfef33d904e55bbd2852d488221c575e Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期二, 03 六月 2025 14:37:33 +0800 Subject: [PATCH] 视频插入(教育) --- src/books/toddlerGameImplementation/view/components/chapter001.vue | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/books/toddlerGameImplementation/view/components/chapter001.vue b/src/books/toddlerGameImplementation/view/components/chapter001.vue index 5f02194..4196f74 100644 --- a/src/books/toddlerGameImplementation/view/components/chapter001.vue +++ b/src/books/toddlerGameImplementation/view/components/chapter001.vue @@ -2824,10 +2824,9 @@ //涓婁紶鍥剧墖 fileUpload(file) { - console.log(file, "file"); + return new Promise((resolve, reject) => { const isJPG = file.file.type === 'image/jpeg' || file.file.type === 'image/png' - console.log(isJPG, "isJPG"); if (!isJPG) { Message.error('涓婁紶鏂囦欢鍙兘鏄� jpg/png 鏍煎紡!') return reject() @@ -2839,8 +2838,6 @@ tool .getFileMd5(file.file, size * 1024) .then(async (e) => { - console.log(this.questionData.askAbout.one == e, "this.questionData.askAbout.one == e"); - if (!(this.questionData.askAbout.one == e)) { const imgData = new FormData() imgData.append('Md5', e) -- Gitblit v1.9.1