feat: 图片裁剪组件 & 头像上传

This commit is contained in:
dap
2024-09-04 15:46:50 +08:00
parent a2de824826
commit 15af16b247
15 changed files with 1022 additions and 49 deletions

View File

@@ -0,0 +1,8 @@
import { withInstall } from '#/utils';
import cropperImage from './src/cropper.vue';
import avatarCropper from './src/cropper-avatar.vue';
export type { Cropper } from './src/typing';
export const CropperImage = withInstall(cropperImage);
export const CropperAvatar = withInstall(avatarCropper);