diff --git a/src/main.js b/src/main.js index 145258e..d332e14 100644 --- a/src/main.js +++ b/src/main.js @@ -15,6 +15,7 @@ import JsonExcel from 'vue-json-excel' import i18n from '@/i18n/i18n' import './directives' import decimalUtil from '@/utils/decimalUtil.js' +import getLodop from '@/utils/LodopFuncs.js' import pdf from 'vue-pdf' Vue.component('downloadExcel', JsonExcel) @@ -30,6 +31,7 @@ if (process.env.NODE_ENV !== 'production') { // 挂载全局 Vue.prototype.$http = httpRequest // ajax请求方法 Vue.prototype.isAuth = isAuth // 权限方法 +Vue.prototype.getLodop = getLodop // 打印 Vue.prototype.decimalUtil = decimalUtil // 计算 Vue.prototype.dayjs = dayjs //时间格式化插件 2021-11-02