fix: Cropper typo (#2891)

This commit is contained in:
Li Kui 2023-06-28 16:52:33 +08:00 committed by GitHub
parent 155ad45848
commit 27cb958c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 287 additions and 287 deletions

View File

@ -20,7 +20,7 @@
{{ btnText ? btnText : t('component.cropper.selectImage') }}
</a-button>
<CopperModal
<CropperModal
@register="register"
@upload-success="handleUploadSuccess"
:uploadApi="uploadApi"
@ -39,7 +39,7 @@
watch,
PropType,
} from 'vue';
import CopperModal from './CopperModal.vue';
import CropperModal from './CropperModal.vue';
import { useDesign } from '/@/hooks/web/useDesign';
import { useModal } from '/@/components/Modal';
import { useMessage } from '/@/hooks/web/useMessage';
@ -58,7 +58,7 @@
export default defineComponent({
name: 'CropperAvatar',
components: { CopperModal, Icon },
components: { CropperModal, Icon },
props,
emits: ['update:value', 'change'],
setup(props, { emit, expose }) {