@ -7,8 +7,8 @@ import {
let routes = [
{
path: "/",
// redirect: "/home",
redirect: "/enforceHome",
redirect: "/home",
// redirect: "/enforceHome",
// redirect: "/login",
name: "App",
},
@ -23,9 +23,9 @@ routes = $globalRouterModules(routes); // 加载模块路由
const $globalRouter = createRouter({
// 企业端u
// history: createWebHashHistory(),
history: createWebHashHistory(),
// 执法端
history: createWebHistory(),
// history: createWebHistory(),
routes,
});
@ -1,7 +1,7 @@
<template>
<!-- <Loading class="loading-div" type="spinner" v-show="isLoading" color="#1989fa"/>
<div class="home app_content" v-if="!isLoading"> -->
<div class="home app_content">
<Loading class="loading-div" type="spinner" v-show="isLoading" color="#1989fa"/>
<div class="home app_content" v-if="!isLoading">
<!-- <div class="home app_content"> -->
<!-- 导航栏 -->
<!-- <div class="header_body">-->
<!-- <header-nav :leftArrow="false" titelText="执法监督码"></header-nav>-->