|
|
|
@ -17,6 +17,7 @@ import './directives' |
|
|
|
import decimalUtil from '@/utils/decimalUtil.js' |
|
|
|
import getLodop from '@/utils/LodopFuncs.js' |
|
|
|
import pdf from 'vue-pdf' |
|
|
|
import { debounce,throttle} from '@/utils/common.js' |
|
|
|
|
|
|
|
Vue.component('downloadExcel', JsonExcel) |
|
|
|
Vue.component('pdf', pdf) |
|
|
|
@ -34,6 +35,8 @@ Vue.prototype.isAuth = isAuth // 权限方法 |
|
|
|
Vue.prototype.getLodop = getLodop // 打印
|
|
|
|
Vue.prototype.decimalUtil = decimalUtil // 计算
|
|
|
|
Vue.prototype.dayjs = dayjs //时间格式化插件 2021-11-02
|
|
|
|
Vue.prototype.debounce = debounce // 防抖
|
|
|
|
Vue.prototype.throttle = throttle // 限流
|
|
|
|
|
|
|
|
// 保存整站vuex本地储存初始状态
|
|
|
|
window.SITE_CONFIG['storeState'] = cloneDeep(store.state) |
|
|
|
|