feature(uniapp商品): 全局函数

This commit is contained in:
luowenfeng 2022-08-03 15:55:32 +08:00
parent 75d2b9a19e
commit 55bc9b0616

View File

@ -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)