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);
|
||||
|
@@ -1,7 +1,3 @@
|
||||
import { withInstall } from '#/utils';
|
||||
|
||||
import description from './src/description.vue';
|
||||
|
||||
export { default as Description } from './src/description.vue';
|
||||
export * from './src/typing';
|
||||
export { useDescription } from './src/useDescription';
|
||||
export const Description = withInstall(description);
|
||||
|
@@ -1,5 +1 @@
|
||||
import { withInstall } from '#/utils';
|
||||
|
||||
import dictTag from './src/index.vue';
|
||||
|
||||
export const DictTag = withInstall(dictTag);
|
||||
export { default as DictTag } from './src/index.vue';
|
||||
|
@@ -1,5 +1 @@
|
||||
import { withInstall } from '#/utils';
|
||||
|
||||
import tenantToggle from './src/index.vue';
|
||||
|
||||
export const TenantToggle = withInstall(tenantToggle);
|
||||
export { default as TenantToggle } from './src/index.vue';
|
||||
|
@@ -1,5 +1 @@
|
||||
import { withInstall } from '#/utils';
|
||||
|
||||
import tinymce from './src/editor.vue';
|
||||
|
||||
export const Tinymce = withInstall(tinymce);
|
||||
export { default as Tinymce } from './src/editor.vue';
|
||||
|
Reference in New Issue
Block a user