This commit is contained in:
2025-11-12 20:43:57 +08:00
parent e6a1a1037e
commit 838c0bff5d
3 changed files with 18 additions and 7 deletions
@@ -8,6 +8,8 @@ import { useI18n } from "vue-i18n";
import { myfuncs } from "@/myfunc.js";
import { onMounted, ref } from "vue";
// 使用 vue-i18n 的 Composition API
const { t, locale } = useI18n();
const userStore = useUserStore();
@@ -39,6 +41,11 @@ onMounted(() => {
lang_sele.value.value = userLang;
}
}
//userlogin
userStore.loginFromStoreCookie()
});
</script>