Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-Connect-Pre-Clearance
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2024-11-11 14:57:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
599a6e87c9189941416c8059b916c75523aa6f0a
599a6e87
1 parent
a466c644
样式修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
15 deletions
web/src/layout/index.vue
web/src/layout/index.vue
View file @
599a6e8
...
...
@@ -13,14 +13,7 @@
<navbar />
<tags-view v-if="needTagsView" />
</div>
<ViewOption
v-if="
activeRoute.name == 'declarationInput' ||
activeRoute.name == 'declareQuery'
"
:activeRoute="activeRoute"
>
</ViewOption>
<ViewOption :activeRoute="activeRoute"> </ViewOption>
<div :class="{ hasTagsView: needTagsView }" class="main-container">
<sidebar
class="sidebar-container"
...
...
@@ -100,13 +93,13 @@ export default {
},
methods: {
setMainHeight(val) {
if (val.name == "declarationInput" || val.name == "declareQuery") {
document.querySelector(".main-container").style.height =
"calc(100% - 125px)";
} else {
document.querySelector(".main-container").style.height =
"calc(100% - 75px)";
}
//
if (val.name == "declarationInput" || val.name == "declareQuery") {
document.querySelector(".main-container").style.height =
"calc(100% - 125px)";
//
} else {
//
document.querySelector(".main-container").style.height =
//
"calc(100% - 75px)";
//
}
},
handleClickOutside() {
this.$store.dispatch("app/closeSideBar", { withoutAnimation: false });
...
...
Please
register
or
login
to post a comment