mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
commit
63872d3ff1
@ -107,12 +107,12 @@ function* loadUI() {
|
||||
yield loadUIDataAsynchronously();
|
||||
hideLoadingScreen();
|
||||
}
|
||||
|
||||
var loader = loadUI();
|
||||
// 加载UI
|
||||
loadUI.next()
|
||||
loader.next()
|
||||
|
||||
// 卸载UI
|
||||
loadUI.next()
|
||||
loader.next()
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user