index.vue 601 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div id="index">
  3. <van-row>
  4. <van-col span="24" class="main"> test </van-col>
  5. </van-row>
  6. </div>
  7. </template>
  8. <script>
  9. import { mapState, createNamespacedHelpers } from 'vuex';
  10. export default {
  11. name: 'index',
  12. props: {},
  13. components: {},
  14. data: function () {
  15. return {};
  16. },
  17. created() {},
  18. methods: {},
  19. computed: {
  20. ...mapState(['user']),
  21. },
  22. metaInfo() {
  23. return { title: this.$route.meta.title };
  24. },
  25. watch: {
  26. test: {
  27. deep: true,
  28. immediate: true,
  29. handler(val) {},
  30. },
  31. },
  32. };
  33. </script>
  34. <style lang="less" scoped></style>