Browse Source

登录不做数据重复提交验证

RuoYi 1 year ago
parent
commit
98cba51541
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/api/login.js

+ 2 - 1
src/api/login.js

@@ -11,7 +11,8 @@ export function login(username, password, code, uuid) {
   return request({
   return request({
     url: '/login',
     url: '/login',
     headers: {
     headers: {
-      isToken: false
+      isToken: false,
+      repeatSubmit: false
     },
     },
     method: 'post',
     method: 'post',
     data: data
     data: data