From f91ebd93d2b60400d7e90e9967da1d2336c580a3 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期一, 23 八月 2021 18:28:33 +0800
Subject: [PATCH] update 重构 将下载excel工具提取到全局

---
 ruoyi-ui/src/views/system/post/index.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/system/post/index.vue b/ruoyi-ui/src/views/system/post/index.vue
index f5b77c7..a68e460 100644
--- a/ruoyi-ui/src/views/system/post/index.vue
+++ b/ruoyi-ui/src/views/system/post/index.vue
@@ -157,7 +157,6 @@
 
 <script>
 import { listPost, getPost, delPost, addPost, updatePost } from "@/api/system/post";
-import { downLoadExcel } from "@/utils/download";
 
 export default {
   name: "Post",
@@ -314,7 +313,7 @@
     },
     /** 瀵煎嚭鎸夐挳鎿嶄綔 */
     handleExport() {
-      downLoadExcel('/system/post/export', this.queryParams);
+      this.downLoadExcel('/system/post/export', this.queryParams);
     }
   }
 };

--
Gitblit v1.9.3