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