From c8d1e1ed1d5c8d20a9aad8554d51001afb3c6312 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期三, 20 十一月 2024 15:28:27 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TextbookReader

---
 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