From ea28ca6875863ed6bc5196fa0bea5ca6ba127cb1 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 19 Jan 2025 08:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=91App.vue=20=E5=BB=B6=E8=BF=9F=20200=20=E6=AF=AB?= =?UTF-8?q?=E7=A7=92=EF=BC=8C=E9=81=BF=E5=85=8D=20=20{errMsg:=20'hideTabBa?= =?UTF-8?q?r:fail=20not=20TabBar=20page'}=EF=BC=88=E6=9D=A5=E8=87=AA=20cur?= =?UTF-8?q?sor=20=E4=BF=AE=E5=A4=8D=E5=BB=BA=E8=AE=AE=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/App.vue b/App.vue index 485b5cbb..9053c4eb 100644 --- a/App.vue +++ b/App.vue @@ -3,33 +3,31 @@ import { ShoproInit } from './sheep'; onLaunch(() => { - // 隐藏原生导航栏 使用自定义底部导航 - uni.hideTabBar(); + // 延时隐藏原生导航栏 + setTimeout(() => { + uni.hideTabBar(); + }, 200); // 加载Shopro底层依赖 ShoproInit(); }); - onError((err) => { - console.log('AppOnError:', err); - }); - onShow((options) => { // #ifdef APP-PLUS // 获取urlSchemes参数 const args = plus.runtime.arguments; if (args) { - } + } // 获取剪贴板 uni.getClipboardData({ - success: (res) => { }, + success: (res) => {}, }); // #endif // #ifdef MP-WEIXIN // 确认收货回调结果 - console.log(options,'options'); + console.log(options, 'options'); // #endif });