mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
chore: dashboard
This commit is contained in:
@@ -114,7 +114,8 @@ const releasesHeader = computed(() => [
|
||||
// Form validation
|
||||
const formValid = ref(true);
|
||||
const passwordRules = computed(() => [
|
||||
(v: string) => !!v || t("core.header.accountDialog.validation.passwordRequired"),
|
||||
(v: string) =>
|
||||
!!v || t("core.header.accountDialog.validation.passwordRequired"),
|
||||
(v: string) =>
|
||||
v.length >= 12 ||
|
||||
t("core.header.accountDialog.validation.passwordMinLength"),
|
||||
@@ -125,8 +126,7 @@ const passwordRules = computed(() => [
|
||||
/[a-z]/.test(v) ||
|
||||
t("core.header.accountDialog.validation.passwordLowercase"),
|
||||
(v: string) =>
|
||||
/\d/.test(v) ||
|
||||
t("core.header.accountDialog.validation.passwordDigit"),
|
||||
/\d/.test(v) || t("core.header.accountDialog.validation.passwordDigit"),
|
||||
]);
|
||||
const confirmPasswordRules = computed(() => [
|
||||
(v: string) =>
|
||||
|
||||
@@ -37,7 +37,7 @@ function mdiFontDownload() {
|
||||
}
|
||||
mkdirSync(mdiDest, { recursive: true });
|
||||
cpSync(mdiSource, mdiDest, { recursive: true });
|
||||
console.log("[mdi-font] Downloaded MDI fonts to public/fonts/");
|
||||
console.info("[mdi-font] Downloaded MDI fonts to public/fonts/");
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user