From fa6f571f61adc8e980094523e9093ada97126f17 Mon Sep 17 00:00:00 2001 From: yeliang-king <2244255345@qq.com> Date: Thu, 8 Dec 2022 11:18:54 +0800 Subject: [PATCH] =?UTF-8?q?ios=20=E9=80=80=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabbar/screen/fullScreen.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/tabbar/screen/fullScreen.vue b/pages/tabbar/screen/fullScreen.vue index f089fa2..7166a21 100644 --- a/pages/tabbar/screen/fullScreen.vue +++ b/pages/tabbar/screen/fullScreen.vue @@ -60,9 +60,10 @@ export default { //取消 cancel(){ // #ifdef APP-PLUS - const threadClass = plus.ios.importClass("NSThread"); - const mainThread = plus.ios.invoke(threadClass, "mainThread"); - plus.ios.invoke(mainThread, "exit") + // const threadClass = plus.ios.importClass("NSThread"); + // const mainThread = plus.ios.invoke(threadClass, "mainThread"); + // plus.ios.invoke(mainThread, "exit") + plus.ios.import("UIApplication").sharedApplication().performSelector("exit") // #endif }, confirm() {