From ef9ea2c97cdbe5bb5fcc21c7186a0dc61679f01d Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 22 八月 2023 18:08:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.110.209:9001/r/lims-before
---
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