Commit 55bc9b061638d453ae7f340a14861dfcc1df8824
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,7 +16,7 @@ import './permission' // permission control | ||
| 16 | import './tongji' // 百度统计 | 16 | import './tongji' // 百度统计 |
| 17 | import { getDicts } from "@/api/system/dict/data"; | 17 | import { getDicts } from "@/api/system/dict/data"; |
| 18 | import { getConfigKey } from "@/api/infra/config"; | 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 | import Pagination from "@/components/Pagination"; | 20 | import Pagination from "@/components/Pagination"; |
| 21 | // 自定义表格工具扩展 | 21 | // 自定义表格工具扩展 |
| 22 | import RightToolbar from "@/components/RightToolbar" | 22 | import RightToolbar from "@/components/RightToolbar" |
| @@ -35,6 +35,7 @@ Vue.prototype.getDictDatas2 = getDictDatas2 | @@ -35,6 +35,7 @@ Vue.prototype.getDictDatas2 = getDictDatas2 | ||
| 35 | Vue.prototype.getDictDataLabel = getDictDataLabel | 35 | Vue.prototype.getDictDataLabel = getDictDataLabel |
| 36 | Vue.prototype.DICT_TYPE = DICT_TYPE | 36 | Vue.prototype.DICT_TYPE = DICT_TYPE |
| 37 | Vue.prototype.handleTree = handleTree | 37 | Vue.prototype.handleTree = handleTree |
| 38 | +Vue.prototype.addBeginAndEndTime = addBeginAndEndTime | ||
| 38 | 39 | ||
| 39 | // 全局组件挂载 | 40 | // 全局组件挂载 |
| 40 | Vue.component('DictTag', DictTag) | 41 | Vue.component('DictTag', DictTag) |