From 38d875b8d6498cd4525f3bf553ec7ce6561dd405 Mon Sep 17 00:00:00 2001 From: yxq Date: Fri, 20 Oct 2023 16:08:01 +0800 Subject: [PATCH] =?UTF-8?q?app=20=E8=A7=A3=E5=86=B3=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E9=A3=9E=E8=A1=8C=E5=B9=B3=E5=8F=B0=E5=90=8E=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/pages/SSO/MyApp/listview.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/SSO/MyApp/listview.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/SSO/MyApp/listview.vue index cf7dd9ec4..28422c57e 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/SSO/MyApp/listview.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/SSO/MyApp/listview.vue @@ -18,7 +18,16 @@ uni.setNavigationBarTitle({ title: dataitem.FName }) - } + }, + onReady() { + // #ifdef APP-PLUS + let currentWebview = this.$scope.$getAppWebview().children()[0] + //监听注入的js + currentWebview.addEventListener("loaded", function() { + currentWebview.evalJS("mui.init({keyEventBind: {backbutton: false }});"); + }); + // #endif + }, }