From 930b8403e74bdba2b7a8f3a38270a5227bf78995 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 24 八月 2023 17:54:45 +0800 Subject: [PATCH] modified: .env.development new file: src/api/chart/work/index.js renamed: src/api/home.js -> src/api/home/index.js modified: src/layout/components/Navbar.vue modified: src/router/index.js modified: src/views/CNAS/satisfactionSurveys/index.vue modified: src/views/chart/work/index.vue modified: src/views/home/index.vue --- src/main.js | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 6319eed..beb2705 100644 --- a/src/main.js +++ b/src/main.js @@ -14,8 +14,15 @@ import store from './store' import router from './router' +//寮曞叆echarts +import echarts from 'echarts' +Vue.prototype.$echarts = echarts + + import '@/icons' // icon import '@/permission' // permission control + +import url from './api/url.js' /** * If you don't want to use mock-server @@ -30,11 +37,17 @@ mockXHR() } +Vue.prototype.HaveJson = (val) => { + return JSON.parse(JSON.stringify(val)) +} + // set ElementUI lang to EN Vue.use(ElementUI, { locale }) // 濡傛灉鎯宠涓枃鐗� element-ui锛屾寜濡備笅鏂瑰紡澹版槑 // Vue.use(ElementUI) +Vue.use(url); + Vue.config.productionTip = false new Vue({ -- Gitblit v1.9.3