document.title

This commit is contained in:
花有清香月有阴
2021-12-24 14:07:24 +08:00
parent 746f297947
commit 4651151cd1
2 changed files with 5 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' }) document.title = '婚丧嫁娶'
this.$dict.load('marriageType', 'modeType') this.$dict.load('marriageType', 'modeType')
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
}, },

View File

@@ -141,7 +141,7 @@ export default {
}, },
watch: {}, watch: {},
onLoad(o) { onLoad(o) {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' }) document.title = '婚丧嫁娶'
if (o.indexTabs) { if (o.indexTabs) {
this.currentTabs = o.indexTabs this.currentTabs = o.indexTabs
this.getList() this.getList()