This commit is contained in:
xuyuncong 2025-10-21 18:37:55 +08:00
parent 8e2f59cb96
commit 01af846a68

View File

@ -33,6 +33,7 @@ import ImagePreview from "@/components/ImagePreview/index.vue";
import {DICT_TYPE, getDictDataLabel, getDictDatas, getDictDatas2} from "@/utils/dict";
// 二维码
import VueQriously from 'vue-qriously'
import { checkPermi, checkRole } from "@/utils/permission";
// 全局方法挂载
Vue.prototype.getDicts = getDicts
@ -47,6 +48,8 @@ Vue.prototype.handleTree = handleTree
Vue.prototype.addBeginAndEndTime = addBeginAndEndTime
Vue.prototype.divide = divide
Vue.prototype.download = download
Vue.prototype.checkPermi = checkPermi
Vue.prototype.checkRole = checkRole
// 全局组件挂载
Vue.component('DictTag', DictTag)