Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
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
viitto
pptist
Commits
415607f3
Commit
415607f3
authored
Jun 26, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复云盘bug
parent
e7aeccb9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Layout.vue
src/views/TeamCenter/Layout.vue
+3
-2
Layout.vue
src/views/UserCenter/Layout.vue
+3
-2
No files found.
src/views/TeamCenter/Layout.vue
View file @
415607f3
...
...
@@ -30,7 +30,7 @@
</el-menu>
<el-button
class=
"full-width pingfangr text-weight-bolder"
@
click=
"forwardSpace"
style=
"font-size: 14px !important;"
icon=
"arrow-left"
>
返回工作台
</el-button>
</div>
<el-scrollbar
v-if=
"
menus[activeIndex].url
!='/a/c'"
class=
"col full-height user-center-body"
wrap-style=
"overflow-x:unset;"
view-style=
"padding-bottom:30px;"
>
<el-scrollbar
v-if=
"
path
!='/a/c'"
class=
"col full-height user-center-body"
wrap-style=
"overflow-x:unset;"
view-style=
"padding-bottom:30px;"
>
<router-view
/>
</el-scrollbar>
<div
v-else
class=
"col full-height user-center-body"
view-style=
"padding-bottom:30px;"
>
...
...
@@ -50,7 +50,8 @@ const router = useRouter()
const
useMenu
=
useMenuStore
();
const
menus
=
ref
(
useMenu
.
getTeamMenu
);
const
activeIndex
=
ref
(
'0'
)
const
path
=
ref
(
''
)
path
.
value
=
router
.
currentRoute
.
value
.
path
const
forwardSpace
=
()
=>
router
.
push
(
'/space'
)
if
(
menus
.
value
.
length
==
0
){
router
.
push
({
...
...
src/views/UserCenter/Layout.vue
View file @
415607f3
...
...
@@ -20,7 +20,7 @@
</el-menu>
<el-button
class=
"full-width pingfangr text-weight-bolder"
@
click=
"forwardSpace"
style=
"font-size: 14px !important;"
icon=
"arrow-left"
>
返回工作台
</el-button>
</div>
<el-scrollbar
v-if=
"
menus[activeIndex].url
!='/u/cloudDiskSpace'"
class=
"col full-height user-center-body"
wrap-style=
"overflow-x:unset;"
view-style=
"padding-bottom:30px;"
>
<el-scrollbar
v-if=
"
path
!='/u/cloudDiskSpace'"
class=
"col full-height user-center-body"
wrap-style=
"overflow-x:unset;"
view-style=
"padding-bottom:30px;"
>
<router-view
/>
</el-scrollbar>
<div
v-else
class=
"col full-height user-center-body"
view-style=
"padding-bottom:30px;"
>
...
...
@@ -41,7 +41,8 @@ const router = useRouter()
const
useMenu
=
useMenuStore
();
const
menus
=
ref
([]
as
any
);
const
activeIndex
=
ref
(
0
)
const
path
=
ref
(
''
)
path
.
value
=
router
.
currentRoute
.
value
.
path
const
{
userInfo
}
=
storeToRefs
(
useUserStore
())
const
forwardSpace
=
()
=>
router
.
push
(
'/space'
)
...
...
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