refact:change field name from scheme to source

This commit is contained in:
pengfei.zhou
2020-02-17 21:23:02 +08:00
committed by osborn
parent 9e54ba1ea6
commit 0961cb9fc9
32 changed files with 72 additions and 91 deletions

2
doric-js/index.d.ts vendored
View File

@@ -754,7 +754,7 @@ declare module 'doric/lib/src/native/navbar' {
declare module 'doric/lib/src/native/navigator' {
import { BridgeContext } from "doric/lib/src/runtime/global";
export function navigator(context: BridgeContext): {
push: (scheme: string, config?: {
push: (source: string, config?: {
alias?: string | undefined;
animated?: boolean | undefined;
extra?: object | undefined;