From 6cc81f9de0c87c40a9f1181ab35e8dff792a1884 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期一, 28 八月 2023 09:17:21 +0800
Subject: [PATCH] 动态路由
---
src/main.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index beb2705..1eda87c 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
@@ -41,6 +43,8 @@
return JSON.parse(JSON.stringify(val))
}
+Vue.prototype.vueIp = "http://localhost:8080/"
+
// set ElementUI lang to EN
Vue.use(ElementUI, { locale })
// 濡傛灉鎯宠涓枃鐗� element-ui锛屾寜濡備笅鏂瑰紡澹版槑
@@ -50,6 +54,7 @@
Vue.config.productionTip = false
+
new Vue({
el: '#app',
router,
--
Gitblit v1.9.3