From 549d372402d5d39b4fa63ae4ff91c40a2c978790 Mon Sep 17 00:00:00 2001 From: handongxun Date: Fri, 27 Mar 2020 18:10:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20openLocation=20=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=A0=8F=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=90=8E=E5=8F=B02=E6=AC=A1=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app-plus/service/api/location/open-location-weex.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/platforms/app-plus/service/api/location/open-location-weex.js b/src/platforms/app-plus/service/api/location/open-location-weex.js index 1132fc75a..fe76469f4 100644 --- a/src/platforms/app-plus/service/api/location/open-location-weex.js +++ b/src/platforms/app-plus/service/api/location/open-location-weex.js @@ -1,3 +1,7 @@ +import { + invoke +} from '../../bridge' + import { showPage } from '../page.js' @@ -13,7 +17,7 @@ export function openLocation (data, callbackId) { popGesture: 'close', backButtonAutoControl: 'close' }, - onClose() { + onClose () { invoke(callbackId, { errMsg: 'openLocation:fail cancel' }) -- GitLab