在utils中建立printt.ts文件

发布时间:2025-06-24 17:50:34  作者:北方职教升学中心  阅读量:242



if (!(this instanceof Print)) return new Print(dom, options);
this.conf = {。
const inputs = document.querySelectorAll(“input”);
const selects = document.querySelectorAll(“select”);
const textareas = document.querySelectorAll(“textarea”);
const ca。
options = options || {};
// ts-expect-error。

在这里插入图片描述

  1. 在utils中建立printt.ts文件。

    interface PrintFunction {。