手持机
This commit is contained in:
@@ -73,6 +73,14 @@ export default {
|
||||
created() {
|
||||
this.fetchTasks()
|
||||
},
|
||||
onShow() {
|
||||
// 根据当前语言动态设置标题
|
||||
const currentLanguage = this.$i18n.locale;
|
||||
const title = this.$t('tabBar.task');
|
||||
uni.setNavigationBarTitle({
|
||||
title: title
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
async fetchTasks() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user