From 64a66bad914fb0b96eb1cb4622647f3c4a56e268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 2 Jan 2024 14:46:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=20kkFile=E9=A2=84=E8=A7=88=E6=8F=90?= =?UTF-8?q?=E5=87=BA=E5=85=AC=E5=85=B1=E6=96=B9=E6=B3=95=EF=BC=8C=E5=8A=A0?= =?UTF-8?q?=E6=B0=B4=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/kkFilePreview.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/kkFilePreview.js b/src/utils/kkFilePreview.js index 6b5cdf76..d4560b5e 100644 --- a/src/utils/kkFilePreview.js +++ b/src/utils/kkFilePreview.js @@ -1,8 +1,7 @@ import Vue from 'vue' import { USER_INFO } from '../store/mutation-types' import { Base64 } from 'js-base64' - -const md5 = require('md5') +import md5 from 'md5' /** * kkFile预览文件并添加水印