onInit. 什么是 $onInit ?首先,他是Angular组件(译注:通过 .component() 方法定义的组件)控制器中暴露出来的一个属性,我们可以把一个函数赋值给该 ...
確定! 回上一頁