computed>watch>methods;methods>watch

在国内 Vue>React>>Angular。

Ant Design 已经全面覆盖了 React、Angular、Vue 三大前端框架,向着世界第一好用的 UI 设计语言迈进。
https://vue.ant.design
ant-design-vue 正式成为蚂蚁金服 Ant Design 官方唯一推荐的 Vue 版 UI 组件库,为 ant-design-vue 的持续健康发展提供了强有力的平台基础和技术支持。

created:html加载完成之前,执行。执行顺序:父组件-子组件
mounted:html加载完成后执行。执行顺序:子组件-父组件
methods:事件方法执行
watch:watch是去监听一个值的变化,然后执行相对应的函数。
computed:computed是计算属性,也就是依赖其它的属性计算所得出最后的值

他们的执行顺序为:默认加载的时候先computed再watch,不执行methods;等触发某一事件后,则是:先methods再watch。
原文地址:https://www.cnblogs.com/wn798/p/11989128.html