From acfea2468f48efa493923496cea2f43037985922 Mon Sep 17 00:00:00 2001 From: sc Date: Mon, 5 Jul 2021 13:53:34 +0800 Subject: [PATCH] =?UTF-8?q?ADD=20=E5=8A=A8=E6=80=81=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index ac3a2e7e..6fe35ecf 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -29,6 +29,9 @@ var isGetApiRouter = false; router.beforeEach(async (to, from, next) => { NProgress.start() + + //动态标题 + document.title = `${to.meta.title} - ${config.APP_NAME}` let userInfo = tool.data.get("user");