我需要使用routerLink创建离子选项卡。在组件ts中动态定义了nextChapterLink。
离子4选项卡已更改,我不知道如何实现我想要的。有什么想法吗?
谢谢
toList' :: BETree -> ([Float], [Char])
toList' (Leaf x) = ([x],[]) -- easy, since Leaf contains only one Float
toList' (Node a l r) = -- Nodes are harder
let (fl1, cl1) = toList' l -- lists from the left branch
(fl2, cl2) = toList' r -- lists from the right branch
in (fl1 ++ fl2, cl1 ++ [a] ++ cl2) -- combine with our Char "a"