feat: history section

This commit is contained in:
Liyas Thomas
2021-07-07 23:28:42 +00:00
committed by GitHub
parent 7c8ab6fd4a
commit 6635d449a5
24 changed files with 199 additions and 308 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div v-show="isActive">
<div v-show="active">
<slot></slot>
</div>
</template>
@@ -18,18 +18,12 @@ export default {
data() {
return {
isActive: false,
active: false,
}
},
// computed: {
// href() {
// return `#${this.label.toLowerCase().replace(/ /g, "-")}`
// },
// },
mounted() {
this.isActive = this.selected
this.active = this.selected
},
}
</script>