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
@@ -17,11 +17,11 @@ function getElement(selector: string | GetContainer): Element | null {
export function PortalMixin({ ref, afterPortal }: PortalMixinOptions) {
return Vue.extend({
props: {
getContainer: [String, Function] as (PropType<string | GetContainer>)
getContainer: [String, Function] as (PropType<string | GetContainer>),
},
watch: {
getContainer: 'portal'
getContainer: 'portal',
},
mounted() {
@@ -49,7 +49,7 @@ export function PortalMixin({ ref, afterPortal }: PortalMixinOptions) {
if (afterPortal) {
afterPortal.call(this);
}
}
}
},
},
});
}