From eeb5fa81a1a466ad54676797f7b2ae6aa35905b5 Mon Sep 17 00:00:00 2001
From: ssongliu <73214554+ssongliu@users.noreply.github.com>
Date: Thu, 27 Apr 2023 15:18:16 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=89=E5=85=A8=E7=99=BB=E5=BD=95?=
=?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96=20(#814)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/components.d.ts | 1 +
frontend/src/assets/images/unsafe.svg | 20 ++++++
.../src/components/error-message/unsafe.vue | 66 +++++++++++++++++++
frontend/src/lang/modules/en.ts | 5 +-
frontend/src/lang/modules/zh.ts | 4 +-
frontend/src/views/login/index.vue | 29 ++------
6 files changed, 97 insertions(+), 28 deletions(-)
create mode 100644 frontend/src/assets/images/unsafe.svg
create mode 100644 frontend/src/components/error-message/unsafe.vue
diff --git a/frontend/components.d.ts b/frontend/components.d.ts
index 2b3ebf489..3cb9f717c 100644
--- a/frontend/components.d.ts
+++ b/frontend/components.d.ts
@@ -90,6 +90,7 @@ declare module 'vue' {
TableSetting: typeof import('./src/components/table-setting/index.vue')['default']
Terminal: typeof import('./src/components/terminal/index.vue')['default']
Tooltip: typeof import('./src/components/tooltip/index.vue')['default']
+ Unsafe: typeof import('./src/components/error-message/unsafe.vue')['default']
Upload: typeof import('./src/components/upload/index.vue')['default']
VCharts: typeof import('./src/components/v-charts/index.vue')['default']
}
diff --git a/frontend/src/assets/images/unsafe.svg b/frontend/src/assets/images/unsafe.svg
new file mode 100644
index 000000000..33916c422
--- /dev/null
+++ b/frontend/src/assets/images/unsafe.svg
@@ -0,0 +1,20 @@
+
diff --git a/frontend/src/components/error-message/unsafe.vue b/frontend/src/components/error-message/unsafe.vue
new file mode 100644
index 000000000..8ef1f225a
--- /dev/null
+++ b/frontend/src/components/error-message/unsafe.vue
@@ -0,0 +1,66 @@
+
+ {{ $t('commons.login.notSafe') }}
+ {{ $t('commons.login.safeEntrance1') }}
+ {{ $t('commons.login.safeEntrance2') }}
+
{{ $t('commons.login.safeEntrance') }}
-