Просмотр исходного кода

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

疯狂的狮子li 3 лет назад
Родитель
Сommit
72f3971ca2
1 измененных файлов с 2 добавлено и 1 удалено
  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"