chore: add trailingComma
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user