From cf4bbfabdd5da60ac78cc43a4febbb7e7d559f92 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 22 十一月 2024 11:11:40 +0800 Subject: [PATCH] 公式输入框样式 --- src/App.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 93c6e67..c0d982a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -119,18 +119,20 @@ } let bookId = getUrlParam('bookId') +let chapter = getUrlParam('chapter') +let startPage = getUrlParam('startPage') let token = getUrlParam('token') -let tryPageCount = getUrlParam('tryPageCount') if(bookId){ localStorage.setItem('bookId', bookId) -} -if(tryPageCount){ - localStorage.setItem('tryPageCount', tryPageCount) } if(token && token != null && token != 'null'){ localStorage.setItem('token', token) } +if(chapter && startPage){ + localStorage.setItem('chapter', chapter) + localStorage.setItem('startPage', startPage) +} if (bookId) { router.replace({ path: '/home', -- Gitblit v1.9.1