From 1d0c946f8ec4365d04508ada6fb7b7ef5c2ffa5f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 03 一月 2024 23:06:28 +0800 Subject: [PATCH] 2024-01-03 --- src/tabviews/zshare/actionList/exportPdf/index.jsx | 29 ----------------------------- 1 files changed, 0 insertions(+), 29 deletions(-) diff --git a/src/tabviews/zshare/actionList/exportPdf/index.jsx b/src/tabviews/zshare/actionList/exportPdf/index.jsx index 3887535..8a8ad2e 100644 --- a/src/tabviews/zshare/actionList/exportPdf/index.jsx +++ b/src/tabviews/zshare/actionList/exportPdf/index.jsx @@ -6,7 +6,6 @@ import moment from 'moment' import JsPDF from 'jspdf' -import Api from '@/api' import MKEmitter from '@/utils/events.js' import MkIcon from '@/components/mk-icon' @@ -103,34 +102,6 @@ this.setState({ loading: false }) - }) - } - - getInnerData = (params) => { - let param = params.shift() - - Api.genericInterface(param).then(res => { - if (res.status) { - this.downloadZipImage(res.data, this.props.btn.urlkey).then((res) => { - if (params.length === 0) { - if (res) { - this.execError({ErrCode: res}) - } else { - this.execSuccess() - } - } else { - this.getInnerData(params) - } - }, (err) => { - if (params.length === 0) { - this.execError({ErrCode: err}) - } else { - this.getInnerData(params) - } - }) - } else { - this.execError(res) - } }) } -- Gitblit v1.8.0