android:navigator plugin push support singlePage flag and the default value is false

This commit is contained in:
pengfei.zhou
2020-09-01 17:41:14 +08:00
committed by osborn
parent 4e724ba922
commit e4351e3b00
4 changed files with 21 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ export function navigator(context: BridgeContext) {
alias?: string,
animated?: boolean,
extra?: object,
singlePage?: boolean,
}) => {
if (config && config.extra) {
(config as any).extra = JSON.stringify(config.extra)