From 6967bcee7a92a56311be84da244601445e32b53d Mon Sep 17 00:00:00 2001 From: HelloWorld Date: Tue, 21 Jul 2020 17:22:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/scripts/controllers/bookmarks-controller.js | 1 + www/scripts/services/data-service.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/www/scripts/controllers/bookmarks-controller.js b/www/scripts/controllers/bookmarks-controller.js index 86e583a..9ddcab1 100644 --- a/www/scripts/controllers/bookmarks-controller.js +++ b/www/scripts/controllers/bookmarks-controller.js @@ -5,4 +5,5 @@ app.controller('bookmarksCtr', ['$scope', '$state', '$stateParams', '$filter', ' return; } pubSubService.publish('Menus.active'); + $state.go('tags'); }]); diff --git a/www/scripts/services/data-service.js b/www/scripts/services/data-service.js index d30ec52..52052e0 100644 --- a/www/scripts/services/data-service.js +++ b/www/scripts/services/data-service.js @@ -15,7 +15,8 @@ app.factory('dataService', [function () { loginMenus: [{ uiSref: 'bookmarks', - title: '导航' + title: '导航', + show: false }, { uiSref: 'tags', title: '分类'