Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/preloadApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type preOptions {
/** 唯一性用户必须保证 */
name: string;
/** 需要渲染的url */
url: string;
url?: string;
/** 注入给子应用的数据 */
props?: { [key: string]: any };
/** 自定义iframe属性 */
Expand Down
6 changes: 3 additions & 3 deletions packages/wujie-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ type baseOptions = {
loadError?: loadErrorHandler;
};

export type preOptions = baseOptions & {
/** 预执行 */
exec?: boolean;
export type preOptions = Partial<baseOptions> & {
/** 唯一性用户必须保证 */
name: string;
};

export type startOptions = baseOptions & {
Expand Down