diff --git a/README.md b/README.md index d6223df..38b964d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # vxe-table-plugin-export-pdf -[![gitee star](https://gitee.com/xuliangzhan_admin/vxe-table-plugin-export-pdf/badge/star.svg?theme=dark)](https://gitee.com/xuliangzhan_admin/vxe-table-plugin-export-pdf/stargazers) +[![gitee star](https://gitee.com/x-extends/vxe-table-plugin-export-pdf/badge/star.svg?theme=dark)](https://gitee.com/x-extends/vxe-table-plugin-export-pdf/stargazers) [![npm version](https://img.shields.io/npm/v/vxe-table-plugin-export-pdf.svg?style=flat-square)](https://www.npmjs.com/package/vxe-table-plugin-export-pdf) [![npm downloads](https://img.shields.io/npm/dm/vxe-table-plugin-export-pdf.svg?style=flat-square)](http://npm-stat.com/charts.html?package=vxe-table-plugin-export-pdf) [![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE) @@ -15,6 +15,7 @@ npm install xe-utils vxe-table vxe-table-plugin-export-pdf jspdf ```javascript // ... +import VXETable from 'vxe-table' import VXETablePluginExportPDF from 'vxe-table-plugin-export-pdf' // ... diff --git a/index.ts b/index.ts index 02ba56d..4cfef39 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,3 @@ -/* eslint-disable no-unused-vars */ import XEUtils from 'xe-utils/ctor' import { VXETableByVueProperty, @@ -24,7 +23,6 @@ declare global { jsPDF: any; } } -/* eslint-enable no-unused-vars */ interface VXETablePluginExportPDFFonts { fontName: string;