From 3aefa683ff926d881b18ca76351db13093d1d227 Mon Sep 17 00:00:00 2001 From: xiaoyucoding Date: Tue, 12 Feb 2019 15:53:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20navigator=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=20navigatorBack=20=E9=99=90=E5=88=B6?= =?UTF-8?q?=E4=BA=86=20url=20=E5=8F=82=E6=95=B0=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20#195?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/view/components/navigator/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/view/components/navigator/index.vue b/src/core/view/components/navigator/index.vue index d5c8e472f..434c09d17 100644 --- a/src/core/view/components/navigator/index.vue +++ b/src/core/view/components/navigator/index.vue @@ -58,7 +58,7 @@ export default { methods: { _onClick ($event) { - if (!this.url) { + if (this.openType !== 'navigateBack' && !this.url) { console.error(` should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab`) return } -- GitLab