diff --git a/yudao-ui-admin/src/main.js b/yudao-ui-admin/src/main.js index 680b14585..2ce318cc0 100644 --- a/yudao-ui-admin/src/main.js +++ b/yudao-ui-admin/src/main.js @@ -16,7 +16,7 @@ import './permission' // permission control import './tongji' // 百度统计 import { getDicts } from "@/api/system/dict/data"; import { getConfigKey } from "@/api/infra/config"; -import { parseTime, resetForm, handleTree} from "@/utils/ruoyi"; +import { parseTime, resetForm, handleTree, addBeginAndEndTime} from "@/utils/ruoyi"; import Pagination from "@/components/Pagination"; // 自定义表格工具扩展 import RightToolbar from "@/components/RightToolbar" @@ -35,6 +35,7 @@ Vue.prototype.getDictDatas2 = getDictDatas2 Vue.prototype.getDictDataLabel = getDictDataLabel Vue.prototype.DICT_TYPE = DICT_TYPE Vue.prototype.handleTree = handleTree +Vue.prototype.addBeginAndEndTime = addBeginAndEndTime // 全局组件挂载 Vue.component('DictTag', DictTag)