homePage.vue 664 B

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