Browse Source

添加验证码

tangning 9 tháng trước cách đây
mục cha
commit
a5f216dd43
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/sys/login/LoginForm.vue

+ 1 - 1
src/views/sys/login/LoginForm.vue

@@ -178,7 +178,7 @@
       const userInfo = await userStore.login({
       const userInfo = await userStore.login({
         password: data.password,
         password: data.password,
         username: data.account,
         username: data.account,
-        authCode: data.code,
+        authCode: formData.code,
         mode: 'none', //不要默认的错误提示
         mode: 'none', //不要默认的错误提示
       });
       });
       if (userInfo) {
       if (userInfo) {