Skip to content

Commit

Permalink
feat: 标签页名称同步修改
Browse files Browse the repository at this point in the history
  • Loading branch information
IITII committed Sep 16, 2023
1 parent 21616d0 commit e945f07
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/layouts/EmptyLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@
*/
'use strict'
import {mapState} from 'vuex'
export default {
name: 'EmptyLayout'
name: 'EmptyLayout',
computed: {
...mapState({
title: state => state.common.title,
}),
},
mounted() {
document.title = this.title
},
}
</script>

Expand Down

0 comments on commit e945f07

Please sign in to comment.