Commit edd4d02f authored by 智勇's avatar 智勇

修复刷新后登出的问题

parent 1a89b596
const env = { const env = {
state: { state: {
name: 'qaapi' name: sessionStorage.getItem('qahome_env') || 'qaapi'
}, },
mutations: { mutations: {
CHANGE_ENV: (state, env) => { CHANGE_ENV: (state, env) => {
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button :loading="loading" type="primary" style="width:100%;" @click.native.prevent="handleLogin"> <el-button :disabled="!ns" :loading="loading" type="primary" style="width:100%;" @click.native.prevent="handleLogin">
Sign in Sign in
</el-button> </el-button>
</el-form-item> </el-form-item>
......
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