From 1c67798cc67f8c130fc7c8e901e53cc0513bbadb Mon Sep 17 00:00:00 2001 From: MaysWind Date: Fri, 4 Dec 2020 21:26:43 +0800 Subject: [PATCH] optimize ui --- src/views/mobile/categories/CategoryList.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/views/mobile/categories/CategoryList.vue b/src/views/mobile/categories/CategoryList.vue index a9e5e213..f3262608 100644 --- a/src/views/mobile/categories/CategoryList.vue +++ b/src/views/mobile/categories/CategoryList.vue @@ -16,9 +16,6 @@ - - - @@ -200,7 +197,7 @@ export default { const self = this; const previousRoute = self.$f7router.previousRoute; - if (previousRoute && (previousRoute.path === '/category/add' || previousRoute.path === '/category/edit') && !self.loading) { + if (previousRoute && (previousRoute.path === '/category/add' || previousRoute.path === '/category/edit' || previousRoute.path === '/category/default') && !self.loading) { self.reload(null); } },