【修改】删除用户账号

This commit is contained in:
zhoulingpo
2023-05-26 13:14:28 +08:00
parent 9171fb6edd
commit 7296af88e7
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -90,6 +90,10 @@ export default {
this.$store.commit('activeTab', null)
this.$store.commit('removeDicts', null)
localStorage.removeItem('cookie')
aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ["_user_id", ""]
});
// var sevice = "http://"+window.location.host+"/";
// var serviceUrl = encodeURIComponent(sevice);
// 正式
+8
View File
@@ -87,6 +87,10 @@ instance.interceptors.response.use(function (response) {
localStorage.removeItem('cookie')
router.push('/login')
Message.error('登录超时过期')
aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ["_user_id", ""]
});
// window.open(BASE_URL.BASE_CHANGAN + "/logout?service=" + BASE_URL.BASE_LOCAL + "/login?loginType=1", '_self');
// var url = 'http://192.168.144.22:9966/login?loginType=1'
// // var url = 'http://10.64.23.30:7766/home'
@@ -103,6 +107,10 @@ instance.interceptors.response.use(function (response) {
localStorage.removeItem('cookie')
router.push('/login')
Message.error('登录超时过期')
aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ["_user_id", ""]
});
// window.open(BASE_URL.BASE_CHANGAN + "/logout?service=" + BASE_URL.BASE_LOCAL + "/login?loginType=1", '_self');
// var url = 'http://192.168.144.22:9966/login?loginType=1'
// // var url = 'http://10.64.23.30:7766/home'