From 50a9907e6e36506c51518d968225f7187a8716f3 Mon Sep 17 00:00:00 2001 From: huanglingchen Date: Mon, 28 Jul 2025 14:57:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=80=80=E5=87=BA=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 06200e7..7964a35 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -8,9 +8,9 @@ 控制面板 车辆面板 - + @@ -53,15 +53,7 @@ content: '是否退出', success: (res)=>{ if (res.confirm) { - httpPost({ - url:'/logout', - data:{} - }).then((res)=>{ - console.log(res) - uni.reLaunch({ - url:"/pages/login/LoginPage" - }) - }) + plus.runtime.quit(); } else if (res.cancel) { console.log('用户点击取消'); }