Display user profile fields

This commit is contained in:
kPherox 2019-11-16 03:12:16 +09:00
parent 0eda60eeb4
commit ca4d5950d0
No known key found for this signature in database
GPG key ID: C04751C2BFA2F62D
2 changed files with 58 additions and 0 deletions

View file

@ -123,6 +123,14 @@ const UserProfile = {
onTabSwitch (tab) {
this.tab = tab
this.$router.replace({ query: { tab } })
},
linkClicked ({ target }) {
if (target.tagName === 'SPAN') {
target = target.parentNode
}
if (target.tagName === 'A') {
window.open(target.href, '_blank')
}
}
},
watch: {