开发者社区> 问答> 正文

AA啊?

<script>
  module.exports = {
    data: {},
    methods: {},

    init: function () {
      console.log('Initializes the internal variable, adds the function of the event');
    },
    created: function () {
      console.log('Finish data binding, triggered before compiling');
    },
    ready: function () {
      console.log('Finish compiling, triggered after Virtual DOM');
    },
    destroyed: function () {
      console.log('Called when the page is destroyed');
    }
  }
</script>


展开
收起
马孟起 2017-10-30 23:53:00 2025 0
0 条回答
写回答
取消 提交回答
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载