diff --git a/src/components/meTable/hooks/print.ts b/src/components/meTable/hooks/print.ts index 68a56821..93624188 100644 --- a/src/components/meTable/hooks/print.ts +++ b/src/components/meTable/hooks/print.ts @@ -20,7 +20,7 @@ export function createHtmlPage(content: string, title = '', head: string[] = []) export function createFrame(): HTMLIFrameElement { const frame = document.createElement('iframe'); frame.className = 'me--print-frame'; - frame.style.cssText='display:none'; + frame.style.cssText = 'display:none'; return frame; } @@ -67,12 +67,7 @@ export default async (elTable: ELTableInstance, title = '', head: string[] = []) width:auto !important } `); - head.unshift( - '', - ); + head.unshift(''); head.unshift( '