Browse Source

sidebar-item-title

noToken
安虹睿 1 year ago
parent
commit
96423a0971
  1. 4
      PC/InterFace.Dash/src/layout/components/Sidebar/SidebarItem.vue
  2. 2
      PC/UI.WinIn.FasterZ.Store/public/config.js
  3. 4
      PC/UI.WinIn.FasterZ.Store/src/layout/components/Sidebar/SidebarItem.vue

4
PC/InterFace.Dash/src/layout/components/Sidebar/SidebarItem.vue

@ -3,7 +3,8 @@
<!-- 最后一层菜单 -->
<template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
<el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
<!-- <el-tooltip class="item" effect="dark" :content="onlyOneChild.meta.title" placement="right"> -->
<el-menu-item :title="onlyOneChild.meta.title" :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
<!-- 系统首页为最后一层且带图标 -->
<item v-if="onlyOneChild.meta.outerFirst" :isSkip="item.meta && item.meta.roles == 'skip'" :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
<!-- 是二级也是最后一级且带菱形 -->
@ -11,6 +12,7 @@
<!-- 其他为最后一层且不带图标 -->
<item v-else :isSkip="item.meta && item.meta.roles == 'skip'" :title="onlyOneChild.meta.title" />
</el-menu-item>
<!-- </el-tooltip> -->
</app-link>
</template>

2
PC/UI.WinIn.FasterZ.Store/public/config.js

@ -1,5 +1,7 @@
// dev_win
// window.SITE_CONFIG['baseApi'] = 'http://192.168.0.190:30001'
// window.SITE_CONFIG['authApi'] = 'http://192.168.0.190:30001'
// window.SITE_CONFIG['userApi'] = 'http://192.168.0.190:30001'
window.SITE_CONFIG['baseApi'] = 'http://dev.ccwin-in.com:60065'
window.SITE_CONFIG['authApi'] = 'http://dev.ccwin-in.com:60065'
window.SITE_CONFIG['userApi'] = 'http://dev.ccwin-in.com:60064'

4
PC/UI.WinIn.FasterZ.Store/src/layout/components/Sidebar/SidebarItem.vue

@ -3,7 +3,8 @@
<!-- 最后一层菜单 -->
<template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
<el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
<!-- <el-tooltip class="item" effect="dark" :content="onlyOneChild.meta.title" placement="right"> -->
<el-menu-item :title="onlyOneChild.meta.title" :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
<!-- 系统首页为最后一层且带图标 -->
<item v-if="onlyOneChild.meta.outerFirst" :isSkip="item.meta && item.meta.roles == 'skip'" :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
<!-- 是二级也是最后一级且带菱形 -->
@ -11,6 +12,7 @@
<!-- 其他为最后一层且不带图标 -->
<item v-else :isSkip="item.meta && item.meta.roles == 'skip'" :title="onlyOneChild.meta.title" />
</el-menu-item>
<!-- </el-tooltip> -->
</app-link>
</template>

Loading…
Cancel
Save