gcs-ui-lib 1.2.30 → 1.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@ const INLINE_STYLE_PROPS = [
|
|
|
50
50
|
const SNAPSHOT_BASE_CSS = `
|
|
51
51
|
html, body {
|
|
52
52
|
margin: 0;
|
|
53
|
-
padding:
|
|
53
|
+
padding: 8px;
|
|
54
54
|
background: #fff;
|
|
55
55
|
-webkit-print-color-adjust: exact;
|
|
56
56
|
print-color-adjust: exact;
|
|
@@ -701,6 +701,9 @@ export async function exportPageHtml(rootEl, options = false) {
|
|
|
701
701
|
return result
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
+
/** @deprecated 兼容旧名,与 exportPageHtml 相同 */
|
|
705
|
+
export const exportPageSnapshot = exportPageHtml
|
|
706
|
+
|
|
704
707
|
/**
|
|
705
708
|
* 上传用 FormData
|
|
706
709
|
* @param {HTMLElement} rootEl
|