From a62d65a9b8b7471c720bdb360e6f2121a8ce5dd4 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 09 十二月 2021 11:48:55 +0800 Subject: [PATCH] fix 修复 TreeBuildUtils 顶节点不为 0 问题 --- ruoyi-ui/src/main.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 6024266..29c4022 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -10,14 +10,14 @@ import App from './App' import store from './store' import router from './router' -import directive from './directive' //directive +import directive from './directive' // directive import plugins from './plugins' // plugins +import { download } from '@/utils/request' import './assets/icons' // icon import './permission' // permission control import { getDicts } from "@/api/system/dict/data"; import { getConfigKey } from "@/api/system/config"; -import { downLoadExcel } from "@/utils/download"; import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from "@/utils/ruoyi"; // 鍒嗛〉缁勪欢 import Pagination from "@/components/Pagination"; @@ -44,7 +44,7 @@ Vue.prototype.addDateRange = addDateRange Vue.prototype.selectDictLabel = selectDictLabel Vue.prototype.selectDictLabels = selectDictLabels -Vue.prototype.downLoadExcel = downLoadExcel +Vue.prototype.download = download Vue.prototype.handleTree = handleTree // 鍏ㄥ眬缁勪欢鎸傝浇 -- Gitblit v1.9.3