src/pages/work/index.vue
@@ -28,10 +28,14 @@ onShow(() => { uni.setTabBarItem({ index: 2, // Tab 的索引(从0开始) text: '新建工单', // text: '新建工单', visible: true, "pagePath": "subPackages/workDetail/addWork/index" }); uni.setTabBarItem({ index: 3, // Tab visible: false, }); isApp.value = true });