From 2dcb936f9e597ee4424918fcd98e7d67bda0dda5 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Mon, 24 Oct 2022 12:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=AA=E5=B1=8F=E7=9B=91=E5=90=AC=20errCode?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9+1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 9d1af6d..c03b822 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -33,10 +33,10 @@ if (uni.getSystemInfoSync().platform == "android") { // 除android 之外的平台,不需要判断返回状态码 - if(res.code == -1){ + if(res.errCode == -1){ // 启动失败 return ; - }else if(res.code == 0){ + }else if(res.errCode == 0){ uni.showToast({ icon:"none", title:'截屏监听已开启' -- GitLab