在Vue生命周期中,下列钩子函数被执行的先后顺序正确的是
(A)created()--->mounted()--->beforeDestroy()
(B)mounted()--->created()--->beforeDestroy()
(C)beforeDestroy()--->created()--->mounted()
(D)created()--->beforeDestroy()--->mounted()
参考答案
继续答题:下一题


(A)created()--->mounted()--->beforeDestroy()
(B)mounted()--->created()--->beforeDestroy()
(C)beforeDestroy()--->created()--->mounted()
(D)created()--->beforeDestroy()--->mounted()