Commit bf812791 authored by 赵啸非's avatar 赵啸非

修改配置文件

parent 1e16d066
......@@ -30,7 +30,7 @@
<div class="nav-wrapper header-default">
<div class="nav">
<ul class="am-nav am-nav-pills am-nav-justify">
<li><router-link class="router" to="/indexView">网站首页</router-link></li>
<li><router-link class="router" to="/index">网站首页</router-link></li>
<li><router-link class="router" to="/product">产品中心</router-link></li>
<li><router-link class="router" to="/example">客户案例</router-link></li>
<li><router-link class="router" to="/news">公司动态</router-link></li>
......
......@@ -19,7 +19,7 @@ Router.prototype.push = function push(location, onResolve, onReject) {
const router = new Router({
routes: [
//不需要鉴权的页面
builder("/indexView", "portal/IndexView"),
builder("/index", "portal/IndexView"),
builder("/product", "portal/ProductView"),
builder("/product/productId/:productId", "portal/ProductDetailsView"),
builder("/example", "portal/ExampleView"),
......
......@@ -10,8 +10,8 @@ module.exports = {
proxy: {
"/m": {
// target: "http://192.168.0.98:11019",
target: 'http://127.0.0.1:18001',
//target: 'http://192.168.0.250:18001',
//target: 'http://127.0.0.1:18001',
target: 'http://192.168.0.250:18001',
changeOrigin: true,
secure: false
}
......
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