修改导出

This commit is contained in:
zouzhibing 2022-08-04 17:08:05 +08:00
parent 18e0c9c18a
commit 0ac3969348
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
const ExcelJS = require("exceljs");
import ExcelJS from 'exceljs'
const autoWidthAction = (val,width=10)=>{
if (val == null) {
width = 10;

View File

@ -25,7 +25,7 @@
<script setup lang="ts">
import {ref} from "vue";
const ExcelJS = require("exceljs");
import ExcelJS from "exceljs";
import { UploadFilled } from '@element-plus/icons-vue'
import {ElMessage} from "element-plus";
const tableData = ref([])