Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
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
1bbeee67
authored
2025-02-14 13:42:02 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记更新
1 parent
6adf5470
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/layouts/components/Tabbar/index.vue
src/layouts/components/Tabbar/index.vue
View file @
1bbeee6
...
...
@@ -26,7 +26,7 @@ watch(
if
(
tab
.
fullPath
.
includes
(
jionPath
))
{
pathIndex
.
value
=
index
}
return
tab
.
fullPath
===
newRouter
.
fullPath
return
tab
.
fullPath
===
decodeURIComponent
(
newRouter
.
fullPath
);
});
if
(
isExist
.
length
==
0
)
{
if
(
pathIndex
.
value
!=
-
1
&&
routerLength
>
3
)
{
...
...
@@ -58,7 +58,7 @@ watch(
// }
// })
tabbarList
.
value
=
list
;
tabbarActive
.
value
=
newRouter
.
fullPath
;
tabbarActive
.
value
=
decodeURIComponent
(
newRouter
.
fullPath
)
;
userStore
.
setTabbar
(
tabbarList
.
value
);
userStore
.
setActiveTabbar
(
combPath
,
newRouter
.
fullPath
);
// nextTick(() => {
...
...
@@ -79,7 +79,6 @@ const changeTab = (pane: any, ev: any) => {
};
const
removeTab
=
(
targetName
)
=>
{
// const tabs = tabbarList.value.filter(item => item.visible ?? true);
debugger
const
tabs
=
tabbarList
.
value
;
let
activeName
=
tabbarActive
.
value
,
nextTab
:
any
=
{};
const
setTabs
=
(
activeTab
)
=>
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment