云生成
This commit is contained in:
@@ -482,10 +482,17 @@ export default defineComponent({
|
||||
userId: this.userDetail.userId,
|
||||
};
|
||||
// console.log(getCookie("token"));
|
||||
if(this.userDetail.systemUser == 3){
|
||||
console.log(this.userDetail)
|
||||
if(this.userDetail.systemList.indexOf(3)>-1){
|
||||
await Https.axiosGet(Https.httpUrls.trialUserLogout,).then((rv) => {
|
||||
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
|
||||
this.$router.replace("/");
|
||||
if(this.userDetail.systemUser == 7){
|
||||
this.$router.replace("/schoolLogin");
|
||||
}else if(this.userDetail.systemUser == 5){
|
||||
this.$router.replace("/enterpriseLogin");
|
||||
}else{
|
||||
this.$router.replace("/");
|
||||
}
|
||||
// WriteCookie("token");
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user