This commit is contained in:
yiqiuyang
2025-09-10 08:47:28 +08:00
parent dcb91f67c5
commit 8ea0f436b1
5 changed files with 481 additions and 343 deletions

View File

@ -31,6 +31,10 @@ export default {
mounted() {
this.activeIndex = getStorage('activeIndex') || 1
},
beforeDestroy() {
setStorage('activeIndex', 1)
},
methods: {
setActiveIndex(id) {
if (this.activeIndex !== id) {