refs #551 Set active tab to first when close preferences

This commit is contained in:
AkiraFukushima 2018-08-22 21:16:29 +09:00
parent b15f173200
commit 6daf09912d
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ export default {
methods: { methods: {
close () { close () {
this.$router.push('/') this.$router.push('/')
this.$store.commit('Preferences/changeActive', '1')
}, },
general () { general () {
this.$router.push('/preferences/general') this.$router.push('/preferences/general')