src/pages/map/index.vue
@@ -19,7 +19,6 @@ import WebViewPlus from "@/components/WebViewPlus.vue"; const viewUrl = getWebViewUrl("/defaultMap"); const onPostMessage = (data) => { if (data.type === "scanCode") { @@ -42,7 +41,12 @@ } }; onLoad(() => {}); onShow(()=>{ uni.setTabBarItem({ index: 2, // Tab 的索引(从0开始) visible: false, }) }) </script> <style scoped lang="scss">