diff --git a/web+/src/layout/components/TagsView/index.vue b/web+/src/layout/components/TagsView/index.vue index 1803e0e..9383dc7 100644 --- a/web+/src/layout/components/TagsView/index.vue +++ b/web+/src/layout/components/TagsView/index.vue @@ -47,7 +47,6 @@ import ScrollPane from './ScrollPane.vue' import path from 'path-browserify' import { defineComponent } from 'vue' import { mapState } from 'vuex' -import { deepClone } from '@/utils' export default defineComponent({ components: { ScrollPane }, diff --git a/web+/src/layout/mixin/ResizeHandler.ts b/web+/src/layout/mixin/ResizeHandler.ts index f8ba0ba..53ad6c5 100644 --- a/web+/src/layout/mixin/ResizeHandler.ts +++ b/web+/src/layout/mixin/ResizeHandler.ts @@ -2,11 +2,16 @@ import store from '@/store' const { body } = document const WIDTH = 992 // refer to Bootstrap's responsive design +import { mapState } from 'vuex' import { defineComponent } from 'vue' + export default defineComponent({ + computed: { + ...mapState(['app']), + }, watch: { $route() { - if (this.device === 'mobile' && this.sidebar.opened) { + if (this.app.device === 'mobile' && this.app.sidebar.opened) { store.dispatch('app/closeSideBar', { withoutAnimation: false }) } }, diff --git a/web+/src/styles/element-ui.scss b/web+/src/styles/element-ui.scss index 38c843f..493ef51 100644 --- a/web+/src/styles/element-ui.scss +++ b/web+/src/styles/element-ui.scss @@ -5,6 +5,11 @@ } } +.el-message-box { + width: 98%!important; + max-width: 420px; +} + .el-breadcrumb__inner, .el-breadcrumb__inner a { font-weight: 400 !important; diff --git a/web+/src/views/member/index.vue b/web+/src/views/member/index.vue index 5ce33ec..4b18712 100644 --- a/web+/src/views/member/index.vue +++ b/web+/src/views/member/index.vue @@ -45,6 +45,7 @@ :label="$t('op')" width="130" align="center" + fixed="right" >