diff --git a/src/main.js b/src/main.js index 7f74cd8..d3aa9f0 100644 --- a/src/main.js +++ b/src/main.js @@ -10,6 +10,7 @@ import '@/assets/scss/index.scss' import httpRequest from '@/utils/httpRequest' // api: https://github.com/axios/axios import { isAuth } from '@/utils' // import cloneDeep from 'lodash/cloneDeep' +import echarts from 'echarts' Vue.use(VueCookie) Vue.config.productionTip = false @@ -20,6 +21,7 @@ Vue.config.productionTip = false // } // 挂载全局 +Vue.prototype.$echarts = echarts // echarts画图 Vue.prototype.$http = httpRequest // ajax请求方法 Vue.prototype.isAuth = isAuth // 权限方法 diff --git a/src/views/business/staff/staff-archives/index.vue b/src/views/business/staff/staff-archives/index.vue index ec8cb53..46b720f 100644 --- a/src/views/business/staff/staff-archives/index.vue +++ b/src/views/business/staff/staff-archives/index.vue @@ -6,8 +6,6 @@