fix
This commit is contained in:
@@ -145,6 +145,12 @@ export default defineComponent({
|
||||
},
|
||||
mounted(){
|
||||
let userInfo:any = getCookie("userInfo")
|
||||
let str = window.location.search.substring(1)
|
||||
if(!userInfo){
|
||||
this.$router.push(`/login?${str}`).then(()=>{
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
this.userInfo = JSON.parse(userInfo);
|
||||
let historyTable:any = this.$refs.historyTable
|
||||
this.historyTableHeight = historyTable.clientHeight - 130
|
||||
|
||||
Reference in New Issue
Block a user