页签标题个性化修改

This commit is contained in:
qq787203167
2022-06-10 17:57:24 +08:00
parent 820006fe18
commit 8af3b8d2b7
11 changed files with 39 additions and 2 deletions
@@ -10,7 +10,8 @@
</span>
</div>
<div class="Virtual-detail-right">
<div @click="UpdateLogClick" v-has="'dummyLog:page'" class="operator-text-text" style="margin-right: 37px;cursor: pointer"
<div @click="UpdateLogClick" v-has="'dummyLog:page'" class="operator-text-text"
style="margin-right: 37px;cursor: pointer"
:title="$t('UpdateLog')">
<a-icon type="reload"/>
{{$t('UpdateLog')}}
@@ -584,7 +585,13 @@
]
}
},
created() {
if (this.$route.query.title == '虚拟清单详情') {
document.title = this.$t('virtualListDetails')
} else {
document.title = this.$t('maintainVirtualList')
}
},
mounted() {
this.title = this.$route.query.title
this.isTrue = this.$route.query.title == '虚拟清单详情' ? false : true