commit:权限模块新增分配详情功能

commit:修改前端样式
This commit is contained in:
Jerry
2020-11-21 11:56:49 +08:00
parent ab470fa0d3
commit f0099087fb
298 changed files with 242157 additions and 1527 deletions

View File

@@ -10,6 +10,16 @@ const router = new Router({
routes: routers
});
const originalPush = Router.prototype.push;
Router.prototype.push = function push (location) {
return originalPush.call(this, location).catch(e => {});
}
const originalReplace = Router.prototype.replace;
Router.prototype.replace = function push (location, onComplete, onAbort) {
return originalReplace.call(this, location, onComplete, onAbort).catch(e => {});
}
/**
* 路由跳转的时候判断token是否存在
*/