Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
sts网站
Commits
58a21ff9
Unverified
Commit
58a21ff9
authored
Nov 27, 2024
by
若依
Committed by
Gitee
Nov 27, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!961 修复默认关闭Tags-Views时,内链页面打不开
Merge pull request !961 from Lyb刘同学/master
parents
a1a45ef7
7f507f5d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
AppMain.vue
ruoyi-ui/src/layout/components/AppMain.vue
+16
-0
index.vue
ruoyi-ui/src/layout/components/TagsView/index.vue
+0
-4
No files found.
ruoyi-ui/src/layout/components/AppMain.vue
View file @
58a21ff9
...
@@ -22,6 +22,22 @@ export default {
...
@@ -22,6 +22,22 @@ export default {
key
()
{
key
()
{
return
this
.
$route
.
path
return
this
.
$route
.
path
}
}
},
watch
:
{
$route
()
{
this
.
addIframe
()
}
},
mounted
()
{
this
.
addIframe
()
},
methods
:
{
addIframe
()
{
const
{
name
}
=
this
.
$route
if
(
name
&&
this
.
$route
.
meta
.
link
)
{
this
.
$store
.
dispatch
(
'tagsView/addIframeView'
,
this
.
$route
)
}
}
}
}
}
}
</
script
>
</
script
>
...
...
ruoyi-ui/src/layout/components/TagsView/index.vue
View file @
58a21ff9
...
@@ -133,11 +133,7 @@ export default {
...
@@ -133,11 +133,7 @@ export default {
const
{
name
}
=
this
.
$route
const
{
name
}
=
this
.
$route
if
(
name
)
{
if
(
name
)
{
this
.
$store
.
dispatch
(
'tagsView/addView'
,
this
.
$route
)
this
.
$store
.
dispatch
(
'tagsView/addView'
,
this
.
$route
)
if
(
this
.
$route
.
meta
.
link
)
{
this
.
$store
.
dispatch
(
'tagsView/addIframeView'
,
this
.
$route
)
}
}
}
return
false
},
},
moveToCurrentTag
()
{
moveToCurrentTag
()
{
const
tags
=
this
.
$refs
.
tag
const
tags
=
this
.
$refs
.
tag
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment