rangle / augury

Angular Debugging and Visualization Tools
https://augury.rangle.io
MIT License
2.01k stars 216 forks source link

[State] area displays"No state to show" #1389

Closed 65min closed 5 years ago

65min commented 5 years ago

-- please install the Augury Canary Build Chrome extension, as this will be used to test any new features or bug fixes.

Augury version (required): 1.23.0 Angular version (required): 7.2.13 Date: May 14, 2019 OS: Windows 10

-- Please make sure you're using the latest version of Augury before reporting an issue.

Demo test application: -- Git repository for demo app showing the issue (optional but very helpful for difficult issues). -- If a code snippet will completely show the issue, please include it.

Description of issue: -- Include (clipped) screenshot images if possible.

Steps to reproduce:

1.In [component Tree] View, Click the target Component 2.the [State] area displays"No state to show" 3.console show message "TypeError: toISOString is not a function"

Additional details:

65min commented 5 years ago

11111 22222222

65min commented 5 years ago

when I add annotation "ViewChild", the component state cannot display normally.

export class BizGoodsDetailComponent implements OnInit {

  ......

  @ViewChild('brand')
  public brand: AppMultipleChoiceComponent;

  ......
}

But when I remove annotation "ViewChild", the component state can display normally.

AryanJ-NYC commented 5 years ago

Dupe of https://github.com/rangle/augury/issues/1368

65min commented 5 years ago

commenting out import "core-js/es6/date"; in polyfills.ts fixed it