15 lines
237 B
Vue
15 lines
237 B
Vue
<template></template>
|
|
|
|
<script lang="ts">
|
|
export default {
|
|
props: ['title'],
|
|
watch: {
|
|
title: {
|
|
immediate: true,
|
|
handler() {
|
|
document.title = this.title;
|
|
},
|
|
},
|
|
},
|
|
};
|
|
</script>
|