From 8eef54d67522f078266a54f0c0596b67c012e6d6 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期二, 29 八月 2023 14:34:05 +0800
Subject: [PATCH] bug

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

diff --git a/src/main.js b/src/main.js
index 6319eed..d578a57 100644
--- a/src/main.js
+++ b/src/main.js
@@ -7,6 +7,8 @@
 import ElementUI from 'element-ui'
 import 'element-ui/lib/theme-chalk/index.css'
 import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
+import VueClipboard from 'vue-clipboard2'
+Vue.use(VueClipboard)
 
 import '@/styles/index.scss' // global css
 
@@ -14,8 +16,16 @@
 import store from './store'
 import router from './router'
 
+//寮曞叆echarts
+import echarts from 'echarts'
+Vue.prototype.$echarts = echarts
+
+import print from 'print-js'
+
 import '@/icons' // icon
 import '@/permission' // permission control
+
+import url from './api/url.js'
 
 /**
  * If you don't want to use mock-server
@@ -30,13 +40,22 @@
   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({
   el: '#app',
   router,

--
Gitblit v1.9.3