Commit 5e417df5 authored by wxk's avatar wxk

账户监控资产信息+充值功能完成

parent e71a1143
...@@ -11,7 +11,8 @@ module.exports = { ...@@ -11,7 +11,8 @@ module.exports = {
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
'/': { '/': {
target: 'http://47.91.221.203:46657', // 接口的域名 // target: 'http://47.91.221.203:46657', //
target: 'http://193.112.106.35:46657', // 接口的域名
// secure: false, // 如果是https接口,需要配置这个参数 // secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置 changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
pathRewrite: { pathRewrite: {
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -42,14 +42,13 @@ ...@@ -42,14 +42,13 @@
this.$router.push('/monitor/' + this.active) this.$router.push('/monitor/' + this.active)
Bus.$emit('navClick') Bus.$emit('navClick')
}else{ }else{
this.active = 'account';
this.$router.push('/monitor/account'); this.$router.push('/monitor/account');
} }
} }
}, },
watch: { watch: {
$route() { $route() {
this.active = this.$route.params.name; this.active = this.$route.params.name || 'account';
} }
} }
} }
......
...@@ -6,6 +6,8 @@ import router from './router' ...@@ -6,6 +6,8 @@ import router from './router'
import './assets/css/base.css' import './assets/css/base.css'
import 'element-ui/lib/theme-chalk/index.css' import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'; import ElementUI from 'element-ui';
import './assets/font/iconfont.css'
Vue.config.productionTip = false; Vue.config.productionTip = false;
Vue.use(ElementUI); Vue.use(ElementUI);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment