[new feature] add overlay component

This commit is contained in:
陈嘉涵
2019-07-06 15:18:37 +08:00
parent 22c1b14bc2
commit f6e69f3caa
11 changed files with 280 additions and 16 deletions
+2 -2
View File
@@ -50,10 +50,10 @@ export function updateOverlay(): void {
}
Object.assign(overlay, defaultConfig, config, {
visible: true
show: true
});
} else {
overlay.visible = false;
overlay.show = false;
}
}