chenhaozhe
5 天以前 6e47a359c0c8e26b7f881b81ef8cd3519e96859b
预览 加载不会停止 修改
1个文件已修改
6 ■■■■■ 已修改文件
src/views/component/printList/preview.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/component/printList/preview.vue
@@ -125,8 +125,6 @@
    },
    async show(hiprintTemplate, printData, width = '210') {
      await this.initHiPrintAsync()
      console.log(printData)
      console.log(hiprintTemplate)
      this.visible = true
      this.spinning = true
      this.width = hiprintTemplate.editingPanel ? hiprintTemplate.editingPanel.width : width;
@@ -141,8 +139,8 @@
      // hiprintTemplateInstance.getJson(tempContainer)
      setTimeout(() => {
        // eslint-disable-next-line no-undef
        hiprintTemplateInstance.getHtml(printData)
        $("#preview_content_design").html(hiprintTemplateInstance.getHtml(printData))
        this.spinning = false
      }, 1000)
    },
    print() {