src/main.js
@@ -9,7 +9,6 @@ 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 import App from './App' @@ -44,7 +43,7 @@ return JSON.parse(JSON.stringify(val)) } Vue.prototype.vueIp = "http://localhost:8080/" Vue.prototype.vueIp = "http://114.132.189.42:8080" // set ElementUI lang to EN Vue.use(ElementUI, { locale }) @@ -61,4 +60,4 @@ router, store, render: h => h(App) }) });