This commit is contained in:
2025-06-26 20:25:32 +08:00
parent e18168ea73
commit cfff1b4062
5 changed files with 45 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
<script setup>
import {onLoad} from "@dcloudio/uni-app";
import AESCrypto from "../../utils/AESCrypto.js";
import {useUserStore} from "../../pinia/UserStore/index.js";
const UserStore = useUserStore();
onLoad((options) => {
const {context, iv} = options;
const res = AESCrypto.decrypt(context, iv);
UserStore.passLogin(res);
});
</script>
<template>
</template>
<style scoped lang="scss">
</style>