index.vue 435 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <div id="index">
  3. <p>index</p>
  4. </div>
  5. </template>
  6. <script>
  7. import { mapState, createNamespacedHelpers } from 'vuex';
  8. export default {
  9. name: 'index',
  10. props: {},
  11. components: {},
  12. data: function () {
  13. return {};
  14. },
  15. computed: {
  16. ...mapState(['user']),
  17. },
  18. created() {},
  19. methods: {},
  20. metaInfo() {
  21. return { title: this.$route.meta.title };
  22. },
  23. };
  24. </script>
  25. <style lang="less" scoped></style>