index.vue 612 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div class='My'>悦·互动</div>
  3. </template>
  4. <script>
  5. export default {
  6. components: {},
  7. data() {
  8. return {
  9. };
  10. },
  11. computed: {},
  12. watch: {},
  13. methods: {
  14. },
  15. created() {
  16. },
  17. mounted() {
  18. },
  19. beforeCreate() {}, //生命周期 - 创建之前
  20. beforeMount() {}, //生命周期 - 挂载之前
  21. beforeUpdate() {}, //生命周期 - 更新之前
  22. updated() {}, //生命周期 - 更新之后
  23. beforeDestroy() {}, //生命周期 - 销毁之前
  24. destroyed() {}, //生命周期 - 销毁完成
  25. activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
  26. }
  27. </script>
  28. <style lang='less' scoped>
  29. </style>