diff --git a/src/store/getters.js b/src/store/getters.js index d68251fd..855247d8 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -13,6 +13,7 @@ const getters = { setting: state => state.user.setting, permission_routers: state => state.permission.routers, addRouters: state => state.permission.addRouters, - errorLogs: state => state.errorLog.logs + errorLogs: state => state.errorLog.logs, + isMobile: state => state.app.device === 'mobile' } export default getters diff --git a/src/views/layout/components/TagsView.vue b/src/views/layout/components/TagsView.vue index 9e34baff..73a1c543 100644 --- a/src/views/layout/components/TagsView.vue +++ b/src/views/layout/components/TagsView.vue @@ -10,7 +10,7 @@ class="tags-view-item" @contextmenu.prevent.native="openMenu(tag,$event)"> {{ generateTitle(tag.title) }} - +