From ef1a27bad9c3b21ee4ab081b68e02a38b44b1bdf Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期一, 05 八月 2024 11:58:05 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/sportsAndHealth/view/components/chapter005.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/books/sportsAndHealth/view/components/chapter005.vue b/src/books/sportsAndHealth/view/components/chapter005.vue index 8f68315..e8976bc 100644 --- a/src/books/sportsAndHealth/view/components/chapter005.vue +++ b/src/books/sportsAndHealth/view/components/chapter005.vue @@ -1107,6 +1107,8 @@ </div> </div> </div> + + </div> </div> </div> @@ -4159,6 +4161,11 @@ } }, created() { + + const localData = JSON.parse(localStorage.getItem('chapter005')) + if (localData) { + this.chapter005 = { ...Object.assign(this.chapter005, localData) } + } if (!this.isSearch) { this.getVideo(this.chapter005.videoMd5.v1.md5, 'v1') this.getVideo(this.chapter005.videoMd5.v2.md5, 'v2') -- Gitblit v1.9.1