Update projects and some improvements
This commit is contained in:
parent
4158d6da05
commit
85dd304682
14 changed files with 147 additions and 639 deletions
18
components/NavBarTitle.vue
Normal file
18
components/NavBarTitle.vue
Normal file
|
@ -0,0 +1,18 @@
|
|||
<style lang="scss">
|
||||
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "NavBarTitle",
|
||||
mounted() {
|
||||
this.$root.$emit("navbar-title", this.$slots.default[0].text)
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.$root.$emit("navbar-title", "")
|
||||
},
|
||||
render(createElement) {
|
||||
return createElement("")
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue