路由调整
This commit is contained in:
1 parent
80e3a108d4
commit
f70a8ce900
2 files changed
+69
-29
No files matched your search
+2
-2
@@ -51,14 +51,14 @@ export default {
|
||||
methods: {
|
||||
_initTabbar() {
|
||||
tabbar.forEach(({ pagePath, text, iconPath, selectedIconPath }, index) => {
|
||||
if (index === 2) {
|
||||
if (index === 2 || index === 3) {
|
||||
uni.setTabBarItem({
|
||||
index: index,
|
||||
pagePath,
|
||||
text,
|
||||
iconPath,
|
||||
selectedIconPath,
|
||||
visible: true,
|
||||
visible: false,
|
||||
})
|
||||
} else {
|
||||
uni.setTabBarItem({
|
||||
|
||||
Reference in new issue
Block a user