Harmony笔记
Navigation界面跳转
@Entry
@Component
struct Index {
pageStack: NavPathStack = new NavPathStack();
build() {
Navigation(this.pageStack) {
Text("Hello")
.onClick(() => {
this.pageStack.pushPath({ name: "page2&