fix:明确文字验证码按钮类型,登录表单组件添加 文字验证码 类型
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
}">
|
||||
<input class="verify-input" type="text" v-model="userCode" />
|
||||
</div>
|
||||
<button class="verify-btn" @click="submit" @disabled="checking">{{ t('captcha.verify') }}</button>
|
||||
<button type="button" class="verify-btn" @click="submit" :disabled="checking">{{ t('captcha.verify') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user