fix: move settings button from home to library

This commit is contained in:
qier222 2021-01-29 16:52:36 +08:00
parent b80c509d1b
commit 09c54486cc
3 changed files with 46 additions and 19 deletions

View file

@ -51,16 +51,6 @@
:imageSize="1024"
/>
</div>
<footer>
<ButtonTwoTone
:iconClass="'settings'"
:color="'grey'"
@click.native="goTo('/settings')"
>
{{ $t("settings.settings") }}
</ButtonTwoTone>
</footer>
</div>
</template>
@ -73,11 +63,10 @@ import NProgress from "nprogress";
import { mapState } from "vuex";
import CoverRow from "@/components/CoverRow.vue";
import ButtonTwoTone from "@/components/ButtonTwoTone.vue";
export default {
name: "Home",
components: { CoverRow, ButtonTwoTone },
components: { CoverRow },
data() {
return {
show: false,
@ -132,9 +121,6 @@ export default {
);
});
},
goTo(path) {
this.$router.push({ path });
},
},
activated() {
this.loadData();