Skip to content

Commit

Permalink
register api ready
Browse files Browse the repository at this point in the history
  • Loading branch information
DARREN-ZHANG committed Sep 23, 2019
1 parent 4a44c1d commit 20624b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
<v-text-field
:label="form_label.captcha"
name="captcha"
v-model="captcha"
type="text"
:rules="[v => !!v || validation.validcode_required ]"
required
Expand Down Expand Up @@ -535,6 +536,11 @@
}
});
console.log("TCL: createAccount -> 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)
Expand Down

0 comments on commit 20624b1

Please sign in to comment.