diff --git a/packages/effects/common-ui/src/components/captcha/verification/Verify/index.ts b/packages/effects/common-ui/src/components/captcha/verification/Verify/index.ts deleted file mode 100644 index b1622e01..00000000 --- a/packages/effects/common-ui/src/components/captcha/verification/Verify/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { default as VerifyPoints } from './VerifyPoints.vue'; - -export { default as VerifySlide } from './VerifySlide.vue'; diff --git a/packages/effects/common-ui/src/components/captcha/verification/index.vue b/packages/effects/common-ui/src/components/captcha/verification/index.vue index 284c9864..49520e82 100644 --- a/packages/effects/common-ui/src/components/captcha/verification/index.vue +++ b/packages/effects/common-ui/src/components/captcha/verification/index.vue @@ -3,11 +3,11 @@ * Verify 验证码组件 * @description 分发验证码使用 */ -import type { VerificationProps } from './types'; +import type { VerificationProps } from './typing'; import { defineAsyncComponent, markRaw, ref, toRefs, watchEffect } from 'vue'; -import './style/verify.css'; +import './verify.css'; defineOptions({ name: 'Verification', @@ -36,12 +36,8 @@ const props = withDefaults(defineProps(), { const emit = defineEmits(['onSuccess', 'onError', 'onClose', 'onReady']); -const VerifyPoints = defineAsyncComponent( - () => import('./Verify/VerifyPoints.vue'), -); -const VerifySlide = defineAsyncComponent( - () => import('./Verify/VerifySlide.vue'), -); +const VerifyPoints = defineAsyncComponent(() => import('./verify-points.vue')); +const VerifySlide = defineAsyncComponent(() => import('./verify-slide.vue')); const { captchaType, mode, checkCaptchaApi, getCaptchaApi } = toRefs(props); const verifyType = ref(); diff --git a/packages/effects/common-ui/src/components/captcha/verification/types/index.d.ts b/packages/effects/common-ui/src/components/captcha/verification/typing.ts similarity index 100% rename from packages/effects/common-ui/src/components/captcha/verification/types/index.d.ts rename to packages/effects/common-ui/src/components/captcha/verification/typing.ts diff --git a/packages/effects/common-ui/src/components/captcha/verification/Verify/VerifyPoints.vue b/packages/effects/common-ui/src/components/captcha/verification/verify-points.vue similarity index 86% rename from packages/effects/common-ui/src/components/captcha/verification/Verify/VerifyPoints.vue rename to packages/effects/common-ui/src/components/captcha/verification/verify-points.vue index 498d7ada..0dbc1f30 100644 --- a/packages/effects/common-ui/src/components/captcha/verification/Verify/VerifyPoints.vue +++ b/packages/effects/common-ui/src/components/captcha/verification/verify-points.vue @@ -1,7 +1,7 @@