(component): update

This commit is contained in:
就眠儀式 2022-10-18 10:46:04 +08:00
parent 48f057e174
commit 55b4a1ab25

View File

@ -22,7 +22,6 @@ import { templateRef } from "@vueuse/core";
import { LayLayer } from "@layui/layer-vue"; import { LayLayer } from "@layui/layer-vue";
import LayButton from "../button/index.vue"; import LayButton from "../button/index.vue";
import Cropper from "cropperjs"; import Cropper from "cropperjs";
import { unescapeMd } from "markdown-it/lib/common/utils";
export interface LayerButton { export interface LayerButton {
text: string; text: string;
@ -49,7 +48,7 @@ export interface LayerModal {
isOutAnim?: boolean; isOutAnim?: boolean;
} }
export interface cutOptions { export interface CutOptions {
layerOption: LayerModal; layerOption: LayerModal;
copperOption?: typeof Cropper; copperOption?: typeof Cropper;
} }
@ -67,7 +66,7 @@ export interface UploadProps {
disabled?: boolean; disabled?: boolean;
disabledPreview?: boolean; disabledPreview?: boolean;
cut?: boolean; cut?: boolean;
cutOptions?: cutOptions; cutOptions?: CutOptions;
} }
const getCutDownResult = () => { const getCutDownResult = () => {