From 20624b19a5aab780ffe8ee419c7f694d83e5096d Mon Sep 17 00:00:00 2001 From: Yiran Date: Mon, 23 Sep 2019 18:46:21 +0800 Subject: [PATCH] register api ready --- src/components/HelloWorld.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index 9314518..4b43053 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -69,6 +69,7 @@ result", result) + if(this.isAndroid() === true){ + window.location.href=this.downloadLink; + }else if(this.isiOS() === true){ + window.location.href=this.tutorial; + } } catch (e) { if (e.response.data) { throw new Error(e.response.data)