-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
export const qiankun = { | ||
// 应用加载之前 | ||
async bootstrap(props) { | ||
console.log('app1 bootstrap', props); | ||
console.log('app2 bootstrap', props); | ||
}, | ||
// 应用 render 之前触发 | ||
async mount(props) { | ||
console.log('app1 mount', props); | ||
console.log('app2 mount', props); | ||
}, | ||
// 应用卸载之后触发 | ||
async unmount(props) { | ||
console.log('app1 unmount', props); | ||
console.log('app2 unmount', props); | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters