From 5429b3896c3408405f50cb7b3fe3b95096f8beb9 Mon Sep 17 00:00:00 2001 From: Bang <15622356989@163.com> Date: Sat, 25 Jun 2022 16:59:40 +0800 Subject: [PATCH] fix: update name --- index.html | 2 +- src/shared/login.js | 2 +- src/views/TheLogin.vue | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 0115753..57ffe1a 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - openGauss Tryme + openGauss TryMe
diff --git a/src/shared/login.js b/src/shared/login.js index ccbc6b8..0f93c0f 100644 --- a/src/shared/login.js +++ b/src/shared/login.js @@ -152,7 +152,7 @@ export async function initGuard() { if (res.code === 200) { // 初始化登录组件 guard = new Guard(res.callbackInfo.appId, { - title: 'Tryme', + title: 'openGauss TryMe', target: '.login-form', mode: GuardMode.Normal, clickCloseable: true, diff --git a/src/views/TheLogin.vue b/src/views/TheLogin.vue index 64769dd..076a93b 100644 --- a/src/views/TheLogin.vue +++ b/src/views/TheLogin.vue @@ -8,12 +8,16 @@ if (localStorage.getItem('_U_T_')) { } else { goAuthorize(); } + +function goPortal() { + window.location.href = 'https://www.opengauss.org'; +}