From e13f2f0963a1b84271fe8ca767654614186b606c Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期四, 13 六月 2024 18:10:49 +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