chore: prettier source code

This commit is contained in:
chenjiahan
2020-04-02 15:36:02 +08:00
parent 340c56b3b5
commit 2fb5cca49a
93 changed files with 272 additions and 283 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ export function updateOverlay(): void {
}
export function openOverlay(vm: any, config: OverlayConfig): void {
if (!context.stack.some(item => item.vm === vm)) {
if (!context.stack.some((item) => item.vm === vm)) {
context.stack.push({ vm, config });
updateOverlay();
}
@@ -77,7 +77,7 @@ export function closeOverlay(vm: any): void {
stack.pop();
updateOverlay();
} else {
context.stack = stack.filter(item => item.vm !== vm);
context.stack = stack.filter((item) => item.vm !== vm);
}
}
}