Explorar o código

update 重构 将下载excel工具提取到全局

疯狂的狮子li %!s(int64=3) %!d(string=hai) anos
pai
achega
72f3971ca2
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      ruoyi-ui/src/main.js

+ 2 - 1
ruoyi-ui/src/main.js

@@ -16,7 +16,8 @@ import './assets/icons' // icon
 import './permission' // permission control
 import { getDicts } from "@/api/system/dict/data";
 import { getConfigKey } from "@/api/system/config";
-import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi";
+import { downLoadExcel } from "@/utils/download";
+import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from "@/utils/ruoyi";
 import Pagination from "@/components/Pagination";
 // 自定义表格工具组件
 import RightToolbar from "@/components/RightToolbar"