diff --git a/.gitignore b/.gitignore index 91afc94..1dbb336 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ dist .eslintcache .stylelintcache +output/playwright/ .env .env.* diff --git a/eslint.config.js b/eslint.config.js index 6f06c52..7d5bf04 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -13,5 +13,6 @@ export default vuetify({ 'unicorn/prefer-query-selector': 'off', 'unicorn/no-array-sort':'off', 'unicorn/prefer-logical-operator-over-ternary': 'off', + '@typescript-eslint/consistent-type-imports': 'off' } }) diff --git a/src/views/Login.vue b/src/views/Login.vue index 70c71d8..6ea2b00 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -116,7 +116,7 @@ const refreshTitle = computed(() => t('pages.login.refreshTitle')) const forgotPasswordHref = ref('/forgot-password') const forgotPasswordTarget = ref(undefined) // 記住帳號的 localStorage key -const rememberStorageKey = ref('playground.login.remember.username') +const rememberStorageKey = ref('login.remember.username') // 驗證碼 API const captchaValue = ref('') @@ -183,12 +183,12 @@ const toolbar = computed(() => ({ // 事件處理 function handleForgotPassword(e: MouseEvent) { - console.log('Playground Forgot Password Click:', e) + console.log('Forgot Password Click:', e) } function handleChangeLocale(nextLocale: string) { locale.value = nextLocale - localStorage.setItem('playground.locale', nextLocale) + localStorage.setItem('locale', nextLocale) } async function handleCaptchaRefresh() {