feat: 图片裁剪组件 & 头像上传
This commit is contained in:
8
apps/web-antd/src/components/cropper/index.ts
Normal file
8
apps/web-antd/src/components/cropper/index.ts
Normal 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);
|
Reference in New Issue
Block a user