Commit edd4d02f authored by 智勇's avatar 智勇

修复刷新后登出的问题

parent 1a89b596
const env = {
state: {
name: 'qaapi'
name: sessionStorage.getItem('qahome_env') || 'qaapi'
},
mutations: {
CHANGE_ENV: (state, env) => {
......
......@@ -37,7 +37,7 @@
</el-select>
</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
</el-button>
</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