Commit 55bc9b061638d453ae7f340a14861dfcc1df8824

Authored by luowenfeng
1 parent 75d2b9a1

feature(uniapp商品): 全局函数

Showing 1 changed file with 2 additions and 1 deletions
yudao-ui-admin/src/main.js
... ... @@ -16,7 +16,7 @@ import './permission' // permission control
16 16 import './tongji' // 百度统计
17 17 import { getDicts } from "@/api/system/dict/data";
18 18 import { getConfigKey } from "@/api/infra/config";
19   -import { parseTime, resetForm, handleTree} from "@/utils/ruoyi";
  19 +import { parseTime, resetForm, handleTree, addBeginAndEndTime} from "@/utils/ruoyi";
20 20 import Pagination from "@/components/Pagination";
21 21 // 自定义表格工具扩展
22 22 import RightToolbar from "@/components/RightToolbar"
... ... @@ -35,6 +35,7 @@ Vue.prototype.getDictDatas2 = getDictDatas2
35 35 Vue.prototype.getDictDataLabel = getDictDataLabel
36 36 Vue.prototype.DICT_TYPE = DICT_TYPE
37 37 Vue.prototype.handleTree = handleTree
  38 +Vue.prototype.addBeginAndEndTime = addBeginAndEndTime
38 39  
39 40 // 全局组件挂载
40 41 Vue.component('DictTag', DictTag)
... ...