Tang 3 жил өмнө
parent
commit
1d0d71bff7

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

@@ -38,8 +38,8 @@ const user = {
     // 登录
     Login({ commit }, userInfo) {
       const username = userInfo.username.trim()
-      // const password = encrypt(userInfo.password)
-      const password = userInfo.password
+      const password = encrypt(userInfo.password)
+      // const password = userInfo.password
       const code = userInfo.code
       const uuid = userInfo.uuid
       return new Promise((resolve, reject) => {