修复注册bug

This commit is contained in:
X1627315083
2024-11-04 16:24:33 +08:00
parent e85a2cd802
commit 6502e3f19f

View File

@@ -42,8 +42,8 @@ export default defineComponent({
cIndex() { cIndex() {
this.resetCaret(); this.resetCaret();
}, },
lastCode(val) { lastCode(newVal,oldVal) {
if (val) { if (newVal && newVal != oldVal) {
this.$refs.input[this.ctSize - 1].blur(); this.$refs.input[this.ctSize - 1].blur();
this.sendCaptcha(); this.sendCaptcha();
} }