Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e59aa112
authored
2024-03-08 12:53:02 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
左侧菜单列表
1 parent
e2f8dcd3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
src/views/workflow/components/leftmenu/segmentMenu.vue
vue.config.js
src/views/workflow/components/leftmenu/segmentMenu.vue
View file @
e59aa11
<!--
* @Description: workFrame左侧菜单列表-分割
* @Autor: renchao
* @LastEditTime: 2024-0
2-01 16:58:20
* @LastEditTime: 2024-0
3-08 12:52:22
-->
<
template
>
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
...
...
@@ -96,7 +96,15 @@
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
loadBdcdylist
(
true
)
let
that
=
this
if
(
newVal
)
{
if
(
that
.
activeIndex
>=
0
)
{
that
.
unitClick
(
sessionStorage
.
getItem
(
'keyPath'
)
-
0
)
}
if
(
that
.
activeHIndex
>=
0
)
{
that
.
handleAfterunitClick
(
sessionStorage
.
getItem
(
'keyPath'
)
-
0
)
}
}
},
immediate
:
true
},
...
...
@@ -139,9 +147,10 @@
this
.
judgeBatchShow
();
if
(
!
status
)
{
if
(
sessionStorage
.
getItem
(
'keyPath'
))
{
if
(
th
is
.
aroundShow
)
{
if
(
th
at
.
activeIndex
>=
0
)
{
that
.
unitClick
(
sessionStorage
.
getItem
(
'keyPath'
)
-
0
)
}
else
{
}
if
(
that
.
activeHIndex
>=
0
)
{
that
.
handleAfterunitClick
(
sessionStorage
.
getItem
(
'keyPath'
)
-
0
)
}
}
else
{
...
...
@@ -178,9 +187,10 @@
this
.
judgeBatchShow
();
if
(
!
status
)
{
if
(
sessionStorage
.
getItem
(
'keyPath'
))
{
if
(
th
is
.
aroundShow
)
{
if
(
th
at
.
activeIndex
>=
0
)
{
that
.
unitClick
(
sessionStorage
.
getItem
(
'keyPath'
)
-
0
)
}
else
{
}
if
(
that
.
activeHIndex
>=
0
)
{
that
.
handleAfterunitClick
(
sessionStorage
.
getItem
(
'keyPath'
)
-
0
)
}
}
else
{
...
...
vue.config.js
View file @
e59aa11
...
...
@@ -71,7 +71,7 @@ module.exports = {
filename
:
`static/js/[name].[hash].js`
,
chunkFilename
:
`static/js/[name].[hash].js`
,
},
devtool
:
process
.
env
.
NODE_ENV
===
'development'
?
'#eval-source-map'
:
false
devtool
:
"source map"
},
// chainWebpack通过链式编程的形式,来修改默认的webpack配置
chainWebpack
(
config
)
{
...
...
Please
register
or
sign in
to post a comment