在utils中建立printt.ts文件

发布时间:2025-06-24 17:43:13  作者:北方职教升学中心  阅读量:999



if (!(this instanceof Print)) return new Print(dom, options);
this.conf = {。

interface PrintFunction {。
const inputs = document.querySelectorAll(“input”);
const selects = document.querySelectorAll(“select”);
const textareas = document.querySelectorAll(“textarea”);
const ca。

在这里插入图片描述

  1. 在utils中建立printt.ts文件。
    options = options || {};
    // ts-expect-error。