调取接口,后端返回的图形验证码数据格式是base64图片路径,根据其数据将其渲染值页面中
<v-row v-if="showCaptcha">
<v-col class="px-0" cols="12" style="position: relative">
<v-text-field
solo
label="请输入图形验证码"
prepend-inner-icon="mdi-check-circle-outline"
v-model="verify_code"
required
:rules="rules.isFull"
></v-text-field>
<img
style="position: absolute; top: 4px; right: 4px"
:src="captcha_image"
alt=""
/>
</v-col>
</v-row>