From 81a36e224bc95d7041bdaadd0fc12c35d4498850 Mon Sep 17 00:00:00 2001 From: XiaoRuby <3114200645@qq.com> Date: 星期六, 26 八月 2023 11:47:04 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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