Skip to content

Commit dbb802f

Browse files
committed
fix: captcha is svg
1 parent 52918bd commit dbb802f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

client/pages/login.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020
<el-input v-model="user.captcha" :placeholder="$t('login.captchaPlaceholder')" />
2121
</el-col>
2222
<el-col ref="captcha" :offset="1" :span="11">
23-
<div class="captcha" @click="refreshCaptcha">
24-
{{ captchaSvg }}
25-
</div>
23+
<!-- eslint-disable-next-line vue/no-v-html -->
24+
<div class="captcha" @click="refreshCaptcha" v-html="captchaSvg" />
2625
</el-col>
2726
</el-form-item>
2827
<el-row>

0 commit comments

Comments
 (0)