Skip to content

Commit

Permalink
fix(admin): responsive immediate
Browse files Browse the repository at this point in the history
  • Loading branch information
Aysnine committed Feb 15, 2020
1 parent 25ed559 commit cce7fce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/admin/$index/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export default {
},
watch: {
$vssWidth: {
immediate: true,
handler: debounce(function(size) {
this.asideCollapse = size < 1024
this.flat = size < 768
Expand Down

0 comments on commit cce7fce

Please sign in to comment.