Как я могу перетащить PrimeNg в моем angular 6? - PullRequest
0 голосов
/ 30 марта 2020

Я использую primeNg в моем angular 6 компоненте. Я хочу перетащить мой узел дерева. Я использую этот draggableNodes = "true" droppableNodes = "true". Но все равно получаю ошибку.

TypeError: Cannot read property 'dragStart$' of null
at Tree.push../node_modules/primeng/components/tree/tree.js.Tree.ngOnInit (tree.js:235)
at checkAndUpdateDirectiveInline (core.js:9042)
at checkAndUpdateNodeInline (core.js:10306)
at checkAndUpdateNode (core.js:10268)
at debugCheckAndUpdateNode (core.js:10901)
at debugCheckDirectivesFn (core.js:10861)
at Object.eval [as updateDirectives] (CreateFunctionComponent.html:38)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:10853)
at checkAndUpdateView (core.js:10250)
at callViewAction (core.js:10491)

enter image description here

...