coys 1 gadu atpakaļ
vecāks
revīzija
369597000b
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 2 2
      .env.development
  2. 2 2
      src/store/modules/user.js

+ 2 - 2
.env.development

@@ -6,11 +6,11 @@ ENV = 'development'
 
 # 开发环境
 #测试地址
-VUE_APP_BASE_API = 'http://47.92.229.224:8080'
+# VUE_APP_BASE_API = 'http://47.92.229.224:8080'
 #罗俊
 #VUE_APP_BASE_API = 'http://10.87.21.60:8080'
 #罗伟
-#  VUE_APP_BASE_API = 'http://10.87.23.62:8080'
+ VUE_APP_BASE_API = 'http://10.87.23.62:8080'
 #高雄
 #VUE_APP_BASE_API = 'http://10.87.11.94:8080'
 #景远超

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

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