diff --git a/src/components/Verifition/src/Verify.vue b/src/components/Verifition/src/Verify.vue
index f9dea4ffc..930d0e721 100644
--- a/src/components/Verifition/src/Verify.vue
+++ b/src/components/Verifition/src/Verify.vue
@@ -119,6 +119,10 @@ export default {
}
watchEffect(() => {
switch (captchaType.value) {
+ case 'pictureWord':
+ verifyType.value = '3'
+ componentType.value = 'VerifyPictureWord'
+ break
case 'blockPuzzle':
verifyType.value = '2'
componentType.value = 'VerifySlide'
diff --git a/src/components/Verifition/src/Verify/VerifyPictureWord.vue b/src/components/Verifition/src/Verify/VerifyPictureWord.vue
index 4fa26c377..f996f648c 100644
--- a/src/components/Verifition/src/Verify/VerifyPictureWord.vue
+++ b/src/components/Verifition/src/Verify/VerifyPictureWord.vue
@@ -37,7 +37,7 @@
}">
-
+
@@ -48,7 +48,7 @@
* */
import { resetSize } from '../utils/util';
import { aesEncrypt } from '../utils/ase';
-import { getCode, reqCheck } from 'src/api/login';
+import { getCode, reqCheck } from '@/api/login';
import { getCurrentInstance, nextTick, onMounted, reactive, ref, toRefs } from 'vue';
const props = defineProps({
diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue
index 3c4e1d1a9..cb4dd429a 100644
--- a/src/views/Login/components/LoginForm.vue
+++ b/src/views/Login/components/LoginForm.vue
@@ -177,7 +177,8 @@ const permissionStore = usePermissionStore()
const redirect = ref('')
const loginLoading = ref(false)
const verify = ref()
-const captchaType = ref('blockPuzzle') // blockPuzzle 滑块 clickWord 点击文字
+const captchaType = ref('pictureWord') // blockPuzzle 滑块 clickWord 点击文字 pictureWord 文字验证码
+// const captchaType = ref('blockPuzzle') // blockPuzzle 滑块 clickWord 点击文字 pictureWord 文字验证码
const getShow = computed(() => unref(getLoginState) === LoginStateEnum.LOGIN)
@@ -360,4 +361,4 @@ onMounted(() => {
cursor: pointer;
}
}
-
+
\ No newline at end of file