ソースを参照

feat: NC-45: 结算后台登陆增加邮箱验证码.

kevin 1 年間 前
コミット
aeef271c04
1 ファイル変更2 行追加1 行削除
  1. 2 1
      backendEle/src/views/login/index.vue

+ 2 - 1
backendEle/src/views/login/index.vue

@@ -19,7 +19,7 @@
 
           <el-form-item label-width="0px">
             <el-input v-model="loginForm.code">
-              <template slot="append" @click="sendCode">发送验证码</template>
+              <template slot="append" @click="sendCode"><i class="el-icon-s-promotion"></i>发送验证码</template>
             </el-input>
           </el-form-item>
 
@@ -120,6 +120,7 @@ export default {
       this.captchaUrl = REQUEST_URL + 'site/captcha?page_id=' + this.pageId + '&v=' + Math.random();
     },
     sendCode() {
+      console.log('sendCode', this.loginForm.adminName)
       return network.sendEmailCode(this.loginForm.adminName)
     },
   }