This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore-mindinsight
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!1131
UI jump to homepage if user input debugger url but debugger is disabled
From:
@panhui3
Reviewed-by: @ouwenchang,@wenkai_dist Signed-off-by:
@wenkai_dist
tags/v1.2.0-rc1
mindspore-ci-bot
Gitee
4 years ago
parent
110e0870fc
fb56a5c352
commit
39cf3763df
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
mindinsight/ui/src/main.js
+ 4
- 0
mindinsight/ui/src/main.js
View File
@@ -45,6 +45,10 @@ Vue.prototype.$bus = new Vue();
// Route interception
router.beforeEach((to, from, next) => {
if (!window.enableDebugger && to.path === '/debugger') {
next('/');
return;
}
// cancel request
if (from.path !== '/') {
store.commit('clearToken');
Write
Preview
Loading…
Cancel
Save