From 496e7e1ddb2f7fbff5759fa59c3a33bec5b9fd9d Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期三, 23 八月 2023 18:03:46 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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