From dfce0fb8a38424408ef577984cc590c149b131b1 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期四, 24 八月 2023 16:50:30 +0800
Subject: [PATCH] 修改委托

---
 src/main.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index 6319eed..4390dd9 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,19 @@
   mockXHR()
 }
 
+Vue.prototype.HaveJson = (val) => {
+	return JSON.parse(JSON.stringify(val))
+}
+
+Vue.prototype.vueIp = "http://localhost:8080/"
+
 // 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