【fix ESLint】src/App
This commit is contained in:
@@ -22,9 +22,7 @@ export default {
|
|||||||
if (deviceType === 0) {
|
if (deviceType === 0) {
|
||||||
that.$store.commit('TOGGLE_DEVICE', 'mobile')
|
that.$store.commit('TOGGLE_DEVICE', 'mobile')
|
||||||
that.$store.dispatch('setSidebar', false)
|
that.$store.dispatch('setSidebar', false)
|
||||||
}
|
} else if (deviceType === 1) { // mobile
|
||||||
// mobile
|
|
||||||
else if (deviceType === 1) {
|
|
||||||
that.$store.commit('TOGGLE_DEVICE', 'mobile')
|
that.$store.commit('TOGGLE_DEVICE', 'mobile')
|
||||||
that.$store.dispatch('setSidebar', false)
|
that.$store.dispatch('setSidebar', false)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user