From 4b10fea5b54737e3a2a61774a87b60fa859b0172 Mon Sep 17 00:00:00 2001 From: fengge <844143714@qq.com> Date: Tue, 30 Jun 2026 10:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=94=80=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/assets/print_demo.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/src/main/assets/print_demo.html b/app/src/main/assets/print_demo.html index 9a08020..b4b9ce8 100644 --- a/app/src/main/assets/print_demo.html +++ b/app/src/main/assets/print_demo.html @@ -140,6 +140,8 @@ + +
@@ -519,6 +521,22 @@ } } + function callForceExit() { + if (window.android && window.android.forceExit) { + window.android.forceExit(); + } else { + alert("App 强制退出接口不可用"); + } + } + + function callLogout() { + if (window.android && window.android.logout) { + window.android.logout(); + } else { + alert("App 注销接口不可用"); + } + } + function callAbout() { if (window.android && window.android.getAboutInfo) { var infoStr = window.android.getAboutInfo();