chore: update package

This commit is contained in:
xingyu
2022-07-25 10:54:11 +08:00
parent 15a408e1eb
commit 0df47f1b42
2 changed files with 7 additions and 14 deletions

View File

@ -30,8 +30,6 @@ const editCropper = () => {
state.dialogVisible = true
state.cropperVisible = true
}
/** 覆盖默认上传行为 */
const requestUpload = () => {}
/** 向左旋转 */
const rotateLeft = () => {
cropper.value.rotateLeft()
@ -121,12 +119,7 @@ watch(
<template #footer>
<el-row>
<el-col :lg="2" :md="2">
<el-upload
action="#"
:http-request="requestUpload"
:show-file-list="false"
:before-upload="beforeUpload"
>
<el-upload action="#" :show-file-list="false" :before-upload="beforeUpload">
<el-button size="small">
<Icon icon="ep:upload-filled" class="mr-5px" />
选择