Apply suggestions from code review

Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>
This commit is contained in:
niubility000 2021-10-16 02:35:40 +08:00 committed by GitHub
parent 807afb1f35
commit 2b8833ddee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,12 +126,12 @@ export default {
}, },
methods: { methods: {
toRoot() { toRoot() {
this.$router.push({ path: "/files/" }); this.$router.push({ path: "/files/" }, () => {});
this.$store.commit('closeHovers'); this.$store.commit("closeHovers");
}, },
toSettings() { toSettings() {
this.$router.push({ path: "/settings" }); this.$router.push({ path: "/settings" }, () => {});
this.$store.commit('closeHovers'); this.$store.commit("closeHovers");
}, },
help() { help() {
this.$store.commit("showHover", "help"); this.$store.commit("showHover", "help");