litian
2024-06-18 38406a926e1062a751ebd96e1fd85ee886b5a64e
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>