From ca2b643c9c31533184c96785f40c537c62cd69f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=97=E6=9D=91?= <2853879293@qq.com> Date: Fri, 23 Oct 2020 12:30:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/mixin/ResizeHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/mixin/ResizeHandler.js b/src/layout/mixin/ResizeHandler.js index e8d0df8c23..cdd59fae22 100644 --- a/src/layout/mixin/ResizeHandler.js +++ b/src/layout/mixin/ResizeHandler.js @@ -5,7 +5,7 @@ const WIDTH = 992 // refer to Bootstrap's responsive design export default { watch: { - $route(route) { + $route() { if (this.device === 'mobile' && this.sidebar.opened) { store.dispatch('app/closeSideBar', { withoutAnimation: false }) } From 10c0dcf22d83f36fb5b07d795bcb0ab802ab678a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=97=E6=9D=91?= <2853879293@qq.com> Date: Tue, 27 Oct 2020 11:08:59 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0name?= =?UTF-8?q?=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Breadcrumb/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 29f9a04c9d..328e1fd433 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -13,6 +13,7 @@ import pathToRegexp from 'path-to-regexp' export default { + name: 'Breadcrumb', data() { return { levelList: null