diff --git a/unitool/index.js b/unitool/index.js index 0e62755..8e07b5b 100644 --- a/unitool/index.js +++ b/unitool/index.js @@ -219,7 +219,7 @@ module.exports = { let page = this.$store ? this : getCurrentPages().pop() uni.setNavigationBarTitle({ title: pageTitle || page.i18nText[page.$store.state.i18n.mylang].tPageTitle }) // #ifdef H5 - document.title = windowTitle || page.$store.getters['i18n/getAppName'] || page.appName // 必须放在 setNavigationBarTitle 之后,否则会被其覆盖掉。 + document.title = windowTitle || page.$store.getters['i18n/getAppName'] // 必须放在 setNavigationBarTitle 之后,否则会被其覆盖掉。 // #endif if (page.$store._mutations['i18n/setTabbar']) page.$store.commit('i18n/setTabbar') // 必须要在有 tab 的页面里重置才有效果 },