|
@@ -38,8 +38,8 @@ const user = {
|
|
// 登录
|
|
// 登录
|
|
Login({ commit }, userInfo) {
|
|
Login({ commit }, userInfo) {
|
|
const username = userInfo.username.trim()
|
|
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 code = userInfo.code
|
|
const uuid = userInfo.uuid
|
|
const uuid = userInfo.uuid
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|