Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
14be7f4c
Commit
14be7f4c
authored
May 19, 2023
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
810306d7
bbbcf8e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
12 deletions
+27
-12
Details.vue
src/components/Details.vue
+27
-12
No files found.
src/components/Details.vue
View file @
14be7f4c
...
@@ -229,19 +229,34 @@
...
@@ -229,19 +229,34 @@
showRightMenu
(
e
)
{
showRightMenu
(
e
)
{
if
(
e
.
button
==
2
)
{
if
(
e
.
button
==
2
)
{
let
id
=
''
let
id
=
''
e
.
path
.
forEach
(
x
=>
{
if
(
e
.
path
)
{
if
(
x
.
className
&&
x
.
className
.
indexOf
(
'el-tabs__item'
)
!=
-
1
)
{
e
.
path
.
forEach
(
x
=>
{
id
=
x
.
id
.
split
(
'-'
)[
1
]
if
(
x
.
className
&&
x
.
className
.
indexOf
(
'el-tabs__item'
)
!=
-
1
)
{
return
false
id
=
x
.
id
.
split
(
'-'
)[
1
]
}
return
false
})
}
this
.
tabs
.
forEach
((
x
,
i
)
=>
{
})
if
((
x
.
name
+
"_"
+
i
)
==
id
)
{
this
.
tabs
.
forEach
((
x
,
i
)
=>
{
this
.
mouseX
=
e
.
clientX
if
((
x
.
name
+
"_"
+
i
)
==
id
)
{
this
.
mouserY
=
e
.
offsetY
this
.
mouseX
=
e
.
clientX
this
.
currentRightIndex
=
i
this
.
mouserY
=
e
.
offsetY
this
.
currentRightIndex
=
i
}
})
}
else
if
(
id
==
''
&&
e
.
target
&&
e
.
target
.
id
)
{
var
tempArray
=
e
.
target
.
id
.
split
(
'-'
);
if
(
tempArray
&&
tempArray
.
length
>
1
)
{
id
=
tempArray
[
1
];
}
}
})
this
.
tabs
.
forEach
((
x
,
i
)
=>
{
var
newName
=
x
.
name
+
"_"
+
i
;
if
(
newName
==
id
)
{
this
.
mouseX
=
e
.
clientX
this
.
mouserY
=
e
.
offsetY
this
.
currentRightIndex
=
i
}
})
}
}
}
},
},
goback
(
t
)
{
goback
(
t
)
{
...
...
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