This is an automated email from the ASF dual-hosted git repository.
gaojun2048 pushed a commit to branch add_canvas_job_define
in repository https://gitbox.apache.org/repos/asf/seatunnel-web.git
The following commit(s) were added to refs/heads/add_canvas_job_define by this
push:
new 28c18f2d Fix: login redirect path (#68)
28c18f2d is described below
commit 28c18f2d4f32cc8da15f9e863b3740de23f04d1c
Author: chaoling <[email protected]>
AuthorDate: Thu Jul 13 21:04:30 2023 +0800
Fix: login redirect path (#68)
---
seatunnel-ui/index.html | 1 +
seatunnel-ui/public/logo-favicon.png | Bin 0 -> 7975 bytes
seatunnel-ui/src/views/login/use-form.ts | 2 +-
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/seatunnel-ui/index.html b/seatunnel-ui/index.html
index 9c457bea..9ffc8128 100644
--- a/seatunnel-ui/index.html
+++ b/seatunnel-ui/index.html
@@ -20,6 +20,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
+ <link rel="icon" href="/ui/logo-favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SeaTunnel Admin</title>
</head>
diff --git a/seatunnel-ui/public/logo-favicon.png
b/seatunnel-ui/public/logo-favicon.png
new file mode 100644
index 00000000..bb225968
Binary files /dev/null and b/seatunnel-ui/public/logo-favicon.png differ
diff --git a/seatunnel-ui/src/views/login/use-form.ts
b/seatunnel-ui/src/views/login/use-form.ts
index b432883c..79e23056 100644
--- a/seatunnel-ui/src/views/login/use-form.ts
+++ b/seatunnel-ui/src/views/login/use-form.ts
@@ -57,7 +57,7 @@ export function useForm() {
const handleLogin = () => {
userLogin({ ...state.loginForm }).then((res: any) => {
userStore.setUserInfo(res)
- router.push({ path: '/data-pipes' })
+ router.push({ name: 'tasks' })
})
}