Commit 8879f6c7 authored by 张伯涛's avatar 张伯涛

地址菜单栏修改

parent 39661c2a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ENV = 'development' ENV = 'development'
# base api # base api
VUE_APP_BASE_API = 'http://10.19.103.15:8090' VUE_APP_BASE_API = 'http://117.122.212.102:8090'
# workFlow链接地址 # workFlow链接地址
VUE_APP_WORKFLOW = '/workFlow' VUE_APP_WORKFLOW = '/workFlow'
# login地址 # login地址
......
...@@ -3,5 +3,5 @@ ENV = 'test' ...@@ -3,5 +3,5 @@ ENV = 'test'
NODE_ENV= 'production' NODE_ENV= 'production'
# 测试环境 # 测试环境
# base api # base api
VUE_APP_BASE_API = 'http://10.19.103.15:8090' VUE_APP_BASE_API = 'http://117.122.212.102:8090'
...@@ -12,31 +12,31 @@ ...@@ -12,31 +12,31 @@
:collapse-transition="false" :collapse-transition="false"
mode="vertical" mode="vertical"
> >
<template v-for="(item, index) in menuList"> <!-- <template v-for="(item, index) in menuList">-->
<el-submenu <!-- <el-submenu-->
:key="index" <!-- :key="index"-->
:index="item.path" <!-- :index="item.path"-->
popper-class="nav-menu-popper" <!-- popper-class="nav-menu-popper"-->
@click="handleSelect(item)" <!-- @click="handleSelect(item)"-->
> <!-- >-->
<template slot="title"> <!-- <template slot="title">-->
<span>{{ item.meta.title }}</span> <!-- <span>{{ item.meta.title }}</span>-->
</template> <!-- </template>-->
<template v-for="(children, childrenIndex) in item.children"> <!-- <template v-for="(children, childrenIndex) in item.children">-->
<el-menu-item <!-- <el-menu-item-->
v-if="!children.hidden" <!-- v-if="!children.hidden"-->
:key="childrenIndex" <!-- :key="childrenIndex"-->
:index="children.path" <!-- :index="children.path"-->
style="text-align: left;" <!-- style="text-align: left;"-->
@click="handleSelect(children.path)" <!-- @click="handleSelect(children.path)"-->
> <!-- >-->
{{ children.meta.title }} <!-- {{ children.meta.title }}-->
</el-menu-item> <!-- </el-menu-item>-->
</template> <!-- </template>-->
</el-submenu> <!-- </el-submenu>-->
</template> <!-- </template>-->
<!--<sidebar-item v-for="route in permission_routes" :key="route.path" :item="route" :base-path="route.path" />--> <sidebar-item v-for="route in permission_routes" :key="route.path" :item="route" :base-path="route.path" />
</el-menu> </el-menu>
</el-scrollbar> </el-scrollbar>
</div> </div>
......
...@@ -42,7 +42,7 @@ module.exports = { ...@@ -42,7 +42,7 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
// target: `http://10.5.87.231:10010/`, // target: `http://10.5.87.231:10010/`,
// target: `http://zt.51newsoftware.com:10184/`, // target: `http://zt.51newsoftware.com:10184/`,
target: 'http://117.122.212.101:8092/', target: 'http://117.122.212.102:8090/',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
......
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