From 020d40734a2062300d8b1651a1688fc987590c0a Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期五, 22 十一月 2024 15:00:12 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TextbookReader --- src/views/index.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index e72055e..04d3f67 100644 --- a/src/views/index.vue +++ b/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> -- Gitblit v1.9.1