Skip to content

Commit

Permalink
fix: captcha is svg
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Apr 15, 2019
1 parent 52918bd commit dbb802f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
<el-input v-model="user.captcha" :placeholder="$t('login.captchaPlaceholder')" />
</el-col>
<el-col ref="captcha" :offset="1" :span="11">
<div class="captcha" @click="refreshCaptcha">
{{ captchaSvg }}
</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="captcha" @click="refreshCaptcha" v-html="captchaSvg" />
</el-col>
</el-form-item>
<el-row>
Expand Down

0 comments on commit dbb802f

Please sign in to comment.