You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ra...@apache.org on 2021/03/02 08:04:45 UTC

[dubbo-admin] branch develop updated: * fix #697 bug. (#699)

This is an automated email from the ASF dual-hosted git repository.

ranke pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4f14c8e  * fix #697 bug. (#699)
4f14c8e is described below

commit 4f14c8ec0e919abbf8d98099a12c96e912b34c6a
Author: tzr164 <tz...@163.com>
AuthorDate: Tue Mar 2 16:04:35 2021 +0800

    * fix #697 bug. (#699)
    
    * * fix #697 bug.
    
    * * fix #697 bug.
    
    Co-authored-by: tangziran <82...@qqcom>
---
 dubbo-admin-ui/src/components/http-common.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-admin-ui/src/components/http-common.js b/dubbo-admin-ui/src/components/http-common.js
index 30946a8..9bbaf67 100644
--- a/dubbo-admin-ui/src/components/http-common.js
+++ b/dubbo-admin-ui/src/components/http-common.js
@@ -46,7 +46,7 @@ instance.interceptors.response.use((response) => {
       // avoid splicing multiple redirects
       return
     }
-    router.push({path: 'login', query: {redirect: paths.length === 1 ? '/' : paths[1]}})
+    router.push({path: '/login', query: {redirect: paths.length === 1 ? '/' : paths[1]}})
   } else if (error.response.status >= HttpStatus.BAD_REQUEST) {
     Vue.prototype.$notify.error(error.response.data.message)
   }