|
- <template>
- <div></div>
- </template>
-
- <script>
- import Vue from "vue";
- import { mapState, mapActions } from "vuex";
- import { Toast } from "vant";
- import baseUrl from "../../api/baseUrl";
-
- Vue.use(Toast);
- export default {
- data() {
- return {};
- },
- computed: {
- ...mapState({
- characters: (state) => state.publicObj.characters,
- }),
- },
-
- methods: {
- ...mapActions(["setCharacters"]),
-
- go(url) {
- this.$router.push(url);
- },
- },
- created() {},
- };
- </script>
-
- <style lang="scss" scoped></style>
|