1
This commit is contained in:
@ -31,6 +31,10 @@ export default {
|
||||
mounted() {
|
||||
this.activeIndex = getStorage('activeIndex') || 1
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
setStorage('activeIndex', 1)
|
||||
},
|
||||
methods: {
|
||||
setActiveIndex(id) {
|
||||
if (this.activeIndex !== id) {
|
||||
|
||||
Reference in New Issue
Block a user