index.vue 611 B

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