Skip to content

Commit

Permalink
Revert "change help link for cn to be same as en" and update link
Browse files Browse the repository at this point in the history
  • Loading branch information
liuqiang1357 committed Aug 3, 2020
1 parent bf0fa7d commit 3bd3ead
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/TopLeftNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,17 @@ export default {
},
methods: {
toHelp() {
open("https://medium.com/ontologynetwork/owallet-faq-7f4f96784253")
const lang = localStorage.getItem("user_lang");
let url = "";
if (lang === "zh") {
url = "https://medium.com/ontology-cn/owallet常见问题-d1b397c11662";
// url = 'https://medium.com/ontologynetwork/owallet-faq-7f4f96784253'
} else {
// url = 'https://ontfans.io/?/article/39'
url = "https://medium.com/ontologynetwork/owallet-faq-7f4f96784253";
}
open(url)
}
}
};
Expand Down

0 comments on commit 3bd3ead

Please sign in to comment.