src/main.js
@@ -26,6 +26,7 @@ selectDictLabels, handleTree, } from "@/utils/ruoyi"; import { dictToValue } from "@/utils/index"; // 分页组件 import Pagination from "@/components/Pagination"; // 自定义表格工具组件 @@ -58,6 +59,7 @@ Vue.prototype.selectDictLabels = selectDictLabels; Vue.prototype.download = download; Vue.prototype.handleTree = handleTree; Vue.prototype.dictToValue = dictToValue; Vue.prototype.HaveJson = (val) => { return JSON.parse(JSON.stringify(val)); };