ngDoCheck 被调用的频率很高,成本高昂,这点要特别注意,以免影响用户体验。 将 AComponent 中的 valueA ,改成对象: import { Component, OnInit } from '@angular/core ...
確定! 回上一頁