闫增涛
2025-04-14 2cac4a0f4ea0b1cf7bff4759fae8136c72792563
src/views/index.vue
@@ -6,9 +6,7 @@
        <menuView />
      </div>
      <div class="rightBox">
        <div>
            <router-view />
        </div>
          <router-view />
      </div>
    </div>
  </div>
@@ -26,7 +24,7 @@
onMounted(() => {})
const goRouter = (item) => {
  if (!localStorage.getItem('jsek-token')) {
  if (!localStorage.getItem('token')) {
    return router.push({
      path: '/home',
      query: {
@@ -68,6 +66,13 @@
  .leftBox {
    background: #fff;
    width:80px;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  .rightBox{
    width:100%;
    height:100%;
    flex:1;
  }
}
</style>