From 36b921024cf6f62cb6d528fb5c0f8d95e9042ebf Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 07 八月 2024 14:58:42 +0800 Subject: [PATCH] 全新绘画插件 --- src/books/sportsAndHealth/view/components/chapter006.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/books/sportsAndHealth/view/components/chapter006.vue b/src/books/sportsAndHealth/view/components/chapter006.vue index f7a1c77..76be14c 100644 --- a/src/books/sportsAndHealth/view/components/chapter006.vue +++ b/src/books/sportsAndHealth/view/components/chapter006.vue @@ -5331,6 +5331,10 @@ computed: {}, watch: {}, created() { + const localData = JSON.parse(localStorage.getItem('chapter006')) + if (localData) { + this.chapter006 = { ...Object.assign(this.chapter006, localData) } + } if (!this.isSearch) { this.getVideo(this.chapter006.videoMd5.v1.md5, 'v1') this.getVideo(this.chapter006.videoMd5.v2.md5, 'v2') -- Gitblit v1.9.1