Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
王涛
3 years ago
Commit
66e10d45fb0fb88a328757582c583773493c77c2
1 parent
51d2d48b
文档管理布局优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.html
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.html
View file @
66e10d4
...
...
@@ -12,11 +12,11 @@
<el-tree
ref=
"tree"
style=
"padding:6px;"
:props=
"props"
:data=
"treeData"
node-key=
"id"
:expand-on-click-node=
"false"
:expand-on-click-node=
"true"
:default-expanded-keys=
"defaultExpandedKeys"
>
<template
#
default=
"{ node, data }"
>
<div
style=
"display: flex;flex-direction: row;width: 100%;"
>
<div
:style=
"{'width':isAdmin() ? 'calc(100% - 85px)':'100%','max-width':isAdmin() ? 'calc(100% - 85px)':'100%'}"
style=
"overflow: hidden;text-overflow: ellipsis;text-align: left;"
@
click=
"nodeClick(node, data)"
:title=
"node.label"
>
<div
style=
"display: flex;flex-direction: row;flex: 1;overflow: hidden"
>
<div
style=
"overflow: hidden;text-overflow: ellipsis;text-align: left;flex:1"
@
click=
"nodeClick(node, data)"
:title=
"node.label"
>
{{node.label }}
</div>
<div
v-if=
"isAdmin()"
:style=
"{'width':isAdmin()?'
6
0px':'0px'}"
>
<div
v-if=
"isAdmin()"
:style=
"{'width':isAdmin()?'
7
0px':'0px'}"
>
<a
@
click=
"editType(data)"
v-if=
"!data.root"
style=
"margin-right: 10px;"
>
<i
class=
"el-icon-edit"
></i>
</a>
...
...
Please
register
or
login
to post a comment