|
@@ -22,6 +22,7 @@
|
|
|
import Http from '@/js/http.js'
|
|
import Http from '@/js/http.js'
|
|
|
import {logout, storageGet} from '@/js/index'
|
|
import {logout, storageGet} from '@/js/index'
|
|
|
import {notify} from '@/constants/index'
|
|
import {notify} from '@/constants/index'
|
|
|
|
|
+ import {login_url} from '../../config/index'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: "ReBindingMail",
|
|
name: "ReBindingMail",
|
|
@@ -85,7 +86,7 @@
|
|
|
// notify('success', '绑定成功');
|
|
// notify('success', '绑定成功');
|
|
|
window.alert('邮箱修改成功, 请重新登录');
|
|
window.alert('邮箱修改成功, 请重新登录');
|
|
|
logout().then((res) => {
|
|
logout().then((res) => {
|
|
|
- window.location.href = process.env.LOGIN_URL;
|
|
|
|
|
|
|
+ window.location.href = login_url;
|
|
|
// this.$router.push('/home')
|
|
// this.$router.push('/home')
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|