chore: 调整组件导出方式
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
import { withInstall } from '#/utils';
|
||||
|
||||
import cropperImage from './src/cropper.vue';
|
||||
import avatarCropper from './src/cropper-avatar.vue';
|
||||
export { default as CropperImage } from './src/cropper.vue';
|
||||
|
||||
export { default as CropperAvatar } 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