diff --git a/docs/UniMPDocs/Sample/harmony.md b/docs/UniMPDocs/Sample/harmony.md index aed02597563e1716d0b58477addfd3281dbe7707..cdaad57444492e4f8b56b687d0dc3b83bcfffb17 100644 --- a/docs/UniMPDocs/Sample/harmony.md +++ b/docs/UniMPDocs/Sample/harmony.md @@ -241,4 +241,12 @@ struct Index { .width('100%') } } -``` \ No newline at end of file +``` + + +registerModule("TestModule", { + test: (page: string) => { + HMRouterMgr.push({pageUrl: PAGE_SETTING}) + } +} as ESObject) +