hello.vue 623 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <view class="hello">hello</view>
  3. </template>
  4. <script>
  5. export default {
  6. props: {},
  7. data: () => ({}),
  8. computed: {},
  9. methods: {},
  10. watch: {},
  11. // 组件周期函数--监听组件挂载完毕
  12. mounted() {},
  13. // 组件周期函数--监听组件数据更新之前
  14. beforeUpdate() {},
  15. // 组件周期函数--监听组件数据更新之后
  16. updated() {},
  17. // 组件周期函数--监听组件激活(显示)
  18. activated() {},
  19. // 组件周期函数--监听组件停用(隐藏)
  20. deactivated() {},
  21. // 组件周期函数--监听组件销毁之前
  22. beforeDestroy() {},
  23. };
  24. </script>
  25. <style></style>