Lodop批量打印

   async  HandleWithPrint() {
      for (let item of this.multipleSelection) {
        await this.RequestEveryItem(item);
      }
      this.printdialogflag = false;
    },
    RequestEveryItem(item) {
      let self = this;
      return new Promise(function (resolve) {
        setTimeout(() => {
            self.printWithLodop(item);
        }, 1000);

      });
    }

你可能感兴趣的:(Lodop批量打印)