forked from xxhjsb/hbt-prevention-ui
feat:引入消息组件
parent
a9537e5ca7
commit
1ae25bb8db
|
@ -5,7 +5,7 @@ VUE_APP_TITLE = 双重预防
|
|||
# 网关地址
|
||||
VUE_APP_GATEWAY_URL="/prod-api"
|
||||
# 服务地址
|
||||
VUE_APP_BASE_API_URL="http://192.168.1.212:8081"
|
||||
VUE_APP_BASE_API_URL="http://119.45.186.133:8081"
|
||||
# 服务前-- 请严格遵守格式 不允许换行
|
||||
VUE_APP_SERVICE_PREFIX= '{"system":"/system","file":"/file","prevention":"/prevention","bpm":"/bpm"}'
|
||||
# 是否显示全部菜单
|
||||
|
@ -14,6 +14,6 @@ VUE_APP_ALL_MENU = false
|
|||
# VUE_APP_REMOTES_URL="http://192.168.1.20:8090"
|
||||
# # 当前应用部署地址
|
||||
# VUE_APP_EXPOSES_URL="http://192.168.1.20:8090"
|
||||
VUE_APP_REMOTES_URL="http://192.168.1.212/common"
|
||||
VUE_APP_REMOTES_URL="http://119.45.158.12/common"
|
||||
# 当前应用部署地址
|
||||
VUE_APP_EXPOSES_URL="/prevention"
|
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<hbt-message></hbt-message>
|
||||
<router-view/>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -10,6 +10,8 @@ import "@/assets/common/icons";
|
|||
// import ModelComponent from "@/components/model.component.vue"
|
||||
import Mock from "mockjs"
|
||||
// import { MockData } from './mock';
|
||||
import MessageComponent from "common/message";
|
||||
import { BusUtils } from "hbt-common/utils/busUtils";
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
// Vue.config.silent = true;
|
||||
|
@ -35,6 +37,8 @@ requireAll(svgs)
|
|||
// Vue.component("hbt-model",ModelComponent)
|
||||
Vue.component("hbt-svg",SvgComponent)
|
||||
Vue.component("hbt-echarts",EchartsComponent)
|
||||
Vue.component("hbt-message", MessageComponent);
|
||||
Vue.prototype.$msgBus = new BusUtils("wsMessage");
|
||||
|
||||
Vue.use(ElementUI);
|
||||
new Vue({
|
||||
|
|
|
@ -3,4 +3,5 @@ declare module 'common/notFound';
|
|||
declare module 'common/index';
|
||||
declare module 'common/layout';
|
||||
declare module 'common/login';
|
||||
declare module 'file-saver'
|
||||
declare module 'file-saver';
|
||||
declare module "common/message"
|
Loading…
Reference in New Issue