From 55b4a1ab25c3a6f38c5d4c57f35698c58f4bd80e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Tue, 18 Oct 2022 10:46:04 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/upload/index.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/component/src/component/upload/index.vue b/package/component/src/component/upload/index.vue index beb3f2ab..dbd2f8d3 100644 --- a/package/component/src/component/upload/index.vue +++ b/package/component/src/component/upload/index.vue @@ -22,7 +22,6 @@ import { templateRef } from "@vueuse/core"; import { LayLayer } from "@layui/layer-vue"; import LayButton from "../button/index.vue"; import Cropper from "cropperjs"; -import { unescapeMd } from "markdown-it/lib/common/utils"; export interface LayerButton { text: string; @@ -49,7 +48,7 @@ export interface LayerModal { isOutAnim?: boolean; } -export interface cutOptions { +export interface CutOptions { layerOption: LayerModal; copperOption?: typeof Cropper; } @@ -67,7 +66,7 @@ export interface UploadProps { disabled?: boolean; disabledPreview?: boolean; cut?: boolean; - cutOptions?: cutOptions; + cutOptions?: CutOptions; } const getCutDownResult = () => {