소스 검색

Merge branch 'feature/ci-cd' of duanxiaoduan/tmr-admin into develop

duanxiaoduan 1 년 전
부모
커밋
c73ca00483
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/store/modules/user.js

+ 2 - 2
src/store/modules/user.js

@@ -92,11 +92,11 @@ const mutations = {
 }
 
 const actions = {
-  // user login
+  // user login  
   login({ commit }, userInfo) {
     const { username, password } = userInfo
     return new Promise((resolve, reject) => {
-      login({ user_name: username.trim(), password: password }).then(response => {
+      login({ username: username.trim(), password: password }).then(response => {
       // login({ username: username.trim(), password: password }).then(response => {
         const { data, msg } = response
         if (msg !== 'ok') {