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

地址菜单栏修改

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