This commit is contained in:
X1627315083
2023-12-14 15:49:59 +08:00
parent 72ea60ec7b
commit f8d476df50
3 changed files with 19 additions and 4 deletions

View File

@@ -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:{