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
8943ba73
authored
2025-06-16 14:47:28 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 去掉移入显示滚动
1 parent
bc594a5e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
src/views/data_asset/registerCatalogDetail.vue
src/views/data_trusted/trustedSpaceIndex.vue
src/views/data_asset/registerCatalogDetail.vue
View file @
8943ba7
...
...
@@ -1356,9 +1356,9 @@ const viewDeliveryFile = (file) => {
</el-table-column>
<el-table-column
prop=
"contract"
label=
"合同"
min-width=
"200px"
align=
"left"
>
<
template
#
default=
"scope"
>
<a
v-for=
"
item in scope.row.contractInfo"
underline=
"hover"
style=
"margin-right: 12
px;cursor: pointer;"
<a
v-for=
"
(item, index) in scope.row.contractInfo"
underline=
"hover"
style=
"margin-right: 8
px;cursor: pointer;"
@
click=
"clickContractDetail(item)"
>
{{
item
.
dataContractName
}}
</a>
item
.
dataContractName
+
(
index
<
scope
.
row
.
contractInfo
?.
length
-
1
?
'、'
:
''
)
}}
</a>
</
template
>
</el-table-column>
<el-table-column
prop=
"uploadTime"
label=
"上传时间"
width=
"180px"
align=
"left"
>
...
...
src/views/data_trusted/trustedSpaceIndex.vue
View file @
8943ba7
...
...
@@ -323,14 +323,18 @@ const oldScrollTop = ref(0);
function
toTop
(
className
:
string
)
{
requestAnimationFrame
(()
=>
{
let
dom
=
document
.
getElementsByClassName
(
className
)[
0
]
dom
.
scrollIntoView
({
block
:
'start'
,
behavior
:
'instant'
,
})
dom
&&
(
dom
.
scrollTop
=
0
);
// dom.scrollIntoView({
// block: 'start',
// behavior: 'instant',
// })
})
}
const
handleDataClick
=
(
item
,
index
)
=>
{
selectDataInfo
.
value
=
item
;
nextTick
(()
=>
{
toTop
(
'dam-detail-right'
)
})
}
function
clearPageInfo
()
{
...
...
@@ -492,11 +496,8 @@ const handleDownFile = () => {
background-color
:
#fff
;
width
:
calc
(
100%
-
456px
);
height
:
100%
;
overflow-y
:
hidden
;
&:hover
{
overflow-y
:
auto
;
}
}
}
.row-search-main
{
...
...
@@ -726,11 +727,7 @@ const handleDownFile = () => {
width
:
450px
;
background-color
:
#fff
;
height
:
100%
;
overflow-y
:
hidden
;
&:hover
{
overflow-y
:
auto
;
}
.dam-detail
{
padding
:
24px
;
...
...
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