Browse Source

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

疯狂的狮子li 3 years ago
parent
commit
72f3971ca2
1 changed files with 2 additions and 1 deletions
  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"