Bladeren bron

feature(uniapp商品): 全局函数

luowenfeng 2 jaren geleden
bovenliggende
commit
55bc9b0616
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      yudao-ui-admin/src/main.js

+ 2 - 1
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)