From f7dae8b681672daf4ed3c2bd9f167204cb7b6b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Wed, 2 Jun 2021 21:34:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=A2=9E=E5=8A=A0=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E5=88=A0=E9=99=A4=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/public/index.html | 18 +++++++++--------- jshERP-web/src/permission.js | 5 ++--- jshERP-web/src/views/system/UserList.vue | 2 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/jshERP-web/public/index.html b/jshERP-web/public/index.html index 78b9bbed..d07a7cbf 100644 --- a/jshERP-web/public/index.html +++ b/jshERP-web/public/index.html @@ -241,6 +241,7 @@ @@ -271,14 +280,5 @@ - diff --git a/jshERP-web/src/permission.js b/jshERP-web/src/permission.js index 948531fb..45d490ba 100644 --- a/jshERP-web/src/permission.js +++ b/jshERP-web/src/permission.js @@ -47,9 +47,7 @@ router.beforeEach((to, from, next) => { }) } else { if (to.path) { - if (window._hmt) { - window._hmt.push(['_trackPageview', '/#' + to.fullPath]) - } + _hmt.push(['_trackPageview', '/#' + to.fullPath]); } next() } @@ -64,6 +62,7 @@ router.beforeEach((to, from, next) => { } } }) + router.afterEach(() => { NProgress.done() // finish progress bar }) diff --git a/jshERP-web/src/views/system/UserList.vue b/jshERP-web/src/views/system/UserList.vue index 689218ec..c63d643a 100644 --- a/jshERP-web/src/views/system/UserList.vue +++ b/jshERP-web/src/views/system/UserList.vue @@ -28,7 +28,7 @@ 新增 - 删除 + 删除 批量操作