Browse Source

企业端可发布状态

v4
蟑螂恶霸 3 months ago
parent
commit
421835b2b5
  1. 8464
      pnpm-lock.yaml
  2. 8
      src/common/globalRouter.js
  3. 6
      src/views/Home.vue

8464
pnpm-lock.yaml

File diff suppressed because it is too large

8
src/common/globalRouter.js

@ -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,
});

6
src/views/Home.vue

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

Loading…
Cancel
Save