src/pages/map/index.vue
@@ -33,7 +33,6 @@ url: "/subPackages/qrCode/index", }); } else if (data.type === "jumpAddWork") { //新建任务 console.log(data.rowItem, '9999') const encodedData = encodeURIComponent(JSON.stringify(data.rowItem)) uni.setStorageSync('webview_params', encodedData) uni.switchTab({ @@ -54,6 +53,7 @@ uni.setTabBarItem({ index: 2, // Tab 的索引(从0开始) visible: false, pagePath: "subPackages/taskDetail/addTask/index" }) uni.setTabBarItem({ index: 3, // Tab @@ -66,4 +66,4 @@ .page-wrap { font-size: 20px; } </style> </style>