fix
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent,ref,createVNode,computed} from 'vue'
|
||||
import { setCookie, getCookie, WriteCookie } from "@/tool/cookie";
|
||||
import HeaderComponent from "@/component/HomePage/Header.vue";
|
||||
import HistoryDetail from "@/component/Detail/HistoryDetail.vue";
|
||||
import router from '@/router/index'
|
||||
@@ -133,8 +134,13 @@ export default defineComponent({
|
||||
let historyTable:any = this.$refs.historyTable
|
||||
this.historyTableHeight = historyTable.clientHeight - 130
|
||||
this.getHistoryList()
|
||||
// if()
|
||||
router.replace('/login')
|
||||
this.userInfo = JSON.parse((getCookie("userInfo") as any));
|
||||
|
||||
if(this.userInfo.userId == 83){
|
||||
|
||||
}else{
|
||||
router.replace('/home')
|
||||
}
|
||||
|
||||
},
|
||||
methods:{
|
||||
|
||||
Reference in New Issue
Block a user