We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c3fa2a commit f92d2cbCopy full SHA for f92d2cb
src/utils/mixin.js
@@ -57,13 +57,16 @@ const AppDeviceEnquire = {
57
switch (deviceType) {
58
case DEVICE_TYPE.DESKTOP:
59
$store.commit('TOGGLE_DEVICE', 'desktop')
60
+ $store.dispatch('setSidebar', true)
61
break
62
case DEVICE_TYPE.TABLET:
63
$store.commit('TOGGLE_DEVICE', 'tablet')
64
+ $store.dispatch('setSidebar', false)
65
66
case DEVICE_TYPE.MOBILE:
67
default:
68
$store.commit('TOGGLE_DEVICE', 'mobile')
69
70
71
}
72
})
0 commit comments