fix captcha invalid
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<t-input v-model.trim="formModel.captcha" class="captcha-input" placeholder="请输入验证码" borderless />
|
||||
</t-form-item>
|
||||
<div class="captcha-wrapper">
|
||||
<captcha ref="captchaRef" class="captcha" :width="120" :height="40" />
|
||||
<captcha ref="captchaRef" class="captcha" :width="120" :height="40" :request="CommonAPI.captcha" />
|
||||
</div>
|
||||
<t-form-item label="短信验证码">
|
||||
<t-input v-model.trim="formModel.smsCode" class="sms-code" placeholder="请输入短信验证码" borderless />
|
||||
@@ -32,7 +32,7 @@
|
||||
<script setup lang="ts">
|
||||
import { Message } from "@/utils/message";
|
||||
import { Captcha } from "timi-web";
|
||||
import { NotifyAPI, UserAPI, useUserStore } from "timi-web-api";
|
||||
import { CommonAPI, NotifyAPI, UserAPI, useUserStore } from "timi-web-api";
|
||||
import { useCurrentStoreStore } from "@/store/currentStoreStore";
|
||||
|
||||
type CaptchaExpose = {
|
||||
|
||||
Reference in New Issue
Block a user