Commit e27e0243 authored by 谢子梦's avatar 谢子梦

Revert "stage:本地登录"

This reverts commit 02585ce1.
parent 02585ce1
......@@ -5,10 +5,9 @@ VUE_APP_TITLE = '薪瑞通'
ENV = 'development'
# 薪瑞通/开发环境
# VUE_APP_BASE_API = 'http://192.168.31.96:8080'
VUE_APP_BASE_API = 'http://admin.xinruit.com/stage-api'
VUE_APP_BASE_API = 'http://localhost:8080'
# 请求、响应数据加密
VUE_APP_AES_ENCRYPT_ENABLED = 'true'
VUE_APP_AES_ENCRYPT_ENABLED = 'false'
# 请求数据加密秘钥串
VUE_APP_AES_ENCRYPT_KEY = 'b8123298c638fb4c'
......
......@@ -10,7 +10,7 @@ export function login(username, password, code, smsCode, uuid) {
uuid
}
return request({
url: '/login',
url: '/loginBySmsCode',
headers: {
isToken: false
},
......
......@@ -37,7 +37,7 @@
<el-checkbox v-model="loginForm.rememberMe" style="margin:12px 0px 25px 0px;">记住密码</el-checkbox>
<el-form-item style="width:100%;">
<el-button :loading="loading" size="medium" type="primary" style="width:100%;"
@click.native.prevent="handleLogin">
@click.native.prevent="getSmsCode">
<span v-if="!loading">登 录</span>
<span v-else>登 录 中...</span>
</el-button>
......
......@@ -35,8 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
// target: `http://admin.xinruit.com`,
// target: `http://localhost:8080`,
target: `http://192.168.31.195:8080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment