chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions
+4 -4
View File
@@ -10,7 +10,7 @@ export type OverlayConfig = {
const defaultConfig: OverlayConfig = {
className: '',
customStyle: {}
customStyle: {},
};
let overlay: any;
@@ -34,8 +34,8 @@ function onClickOverlay(): void {
function mountOverlay() {
overlay = mount(Overlay, {
on: {
click: onClickOverlay
}
click: onClickOverlay,
},
});
}
@@ -55,7 +55,7 @@ export function updateOverlay(): void {
}
Object.assign(overlay, defaultConfig, config, {
show: true
show: true,
});
} else {
overlay.show = false;