- {locale.shortpassword.title || title}
+ {title || locale.shortpassword.title}
- {locale.shortpassword.desc || desc}
+ {desc || locale.shortpassword.desc}
@@ -170,10 +174,10 @@ export const ShortPassword: FunctionComponent<
{errorMsg}
- {tips ? (
+ {tips || locale.shortpassword.tips ? (
-
{locale.shortpassword.tips || tips}
+
{tips || locale.shortpassword.tips}
) : null}
diff --git a/src/styles/variables.scss b/src/styles/variables.scss
index 8250ecb..32f13ab 100644
--- a/src/styles/variables.scss
+++ b/src/styles/variables.scss
@@ -495,7 +495,6 @@ $divider-vertical-top: 2px !default;
$divider-vertical-border-left: rgba(0, 0, 0, 0.06) !default;
$divider-vertical-margin: 0 8px !default;
-
// swiper
$swiper-pagination-item-background-color: #ddd !default;
--
GitLab