更新
This commit is contained in:
parent
8e2f59cb96
commit
01af846a68
@ -33,6 +33,7 @@ import ImagePreview from "@/components/ImagePreview/index.vue";
|
|||||||
import {DICT_TYPE, getDictDataLabel, getDictDatas, getDictDatas2} from "@/utils/dict";
|
import {DICT_TYPE, getDictDataLabel, getDictDatas, getDictDatas2} from "@/utils/dict";
|
||||||
// 二维码
|
// 二维码
|
||||||
import VueQriously from 'vue-qriously'
|
import VueQriously from 'vue-qriously'
|
||||||
|
import { checkPermi, checkRole } from "@/utils/permission";
|
||||||
|
|
||||||
// 全局方法挂载
|
// 全局方法挂载
|
||||||
Vue.prototype.getDicts = getDicts
|
Vue.prototype.getDicts = getDicts
|
||||||
@ -47,6 +48,8 @@ Vue.prototype.handleTree = handleTree
|
|||||||
Vue.prototype.addBeginAndEndTime = addBeginAndEndTime
|
Vue.prototype.addBeginAndEndTime = addBeginAndEndTime
|
||||||
Vue.prototype.divide = divide
|
Vue.prototype.divide = divide
|
||||||
Vue.prototype.download = download
|
Vue.prototype.download = download
|
||||||
|
Vue.prototype.checkPermi = checkPermi
|
||||||
|
Vue.prototype.checkRole = checkRole
|
||||||
|
|
||||||
// 全局组件挂载
|
// 全局组件挂载
|
||||||
Vue.component('DictTag', DictTag)
|
Vue.component('DictTag', DictTag)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user