瀏覽代碼

更新 captchaCode

reghao 2 年之前
父節點
當前提交
4898289df8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/assets/js/mixin.js

+ 1 - 1
src/assets/js/mixin.js

@@ -58,7 +58,7 @@ export const userMixin = {
     getCaptcha() {
       getCaptchaCode().then(res => {
         if (res.code === 0) {
-          this.captchaCode = 'data:image/jpeg;base64,' + res.data
+          this.captchaCode = res.data
           this.dialogVisible = true
         } else {
           this.message = '获取图形验证码失败, 请重新刷新页面'