Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
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
Elements-SY
2023-09-07 17:44:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8802bfdf064fb2853a9178a3fda724260ab407b0
8802bfdf
1 parent
f74df206
modify
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
src/layout/mixin/ResizeHandler.js
src/layout/mixin/ResizeHandler.js
View file @
8802bfd
...
...
@@ -6,7 +6,6 @@ const WIDTH = 992; // refer to Bootstrap's responsive design
export
default
{
watch
:
{
$route
(
route
)
{
this
.
getBlockCurrentHeight
();
if
(
this
.
device
===
"mobile"
&&
this
.
sidebar
.
opened
)
{
store
.
dispatch
(
"app/closeSideBar"
,
{
withoutAnimation
:
false
});
}
...
...
@@ -24,9 +23,6 @@ export default {
store
.
dispatch
(
"app/toggleDevice"
,
"mobile"
);
store
.
dispatch
(
"app/closeSideBar"
,
{
withoutAnimation
:
true
});
}
this
.
$nextTick
(()
=>
{
this
.
getBlockCurrentHeight
();
})
},
methods
:
{
// use $_ for mixins properties
...
...
Please
register
or
login
to post a comment