From 320aab978ba3b6daac509cb974a33e996a5e54c4 Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 6 Feb 2024 19:14:03 +0800 Subject: [PATCH] =?UTF-8?q?storeinfo=E6=94=BE=E5=9B=9E=E5=88=B0=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/App.jsx b/App.jsx index 6ebbda8..ee89653 100644 --- a/App.jsx +++ b/App.jsx @@ -140,6 +140,9 @@ export default function App() { useEffect(() => { async function prepare() { try { + //重新获取设备和app信息 + storeAppInfo(); + const token = await get("token"); const account = await get("account"); const base = await baseRequest(); @@ -214,7 +217,6 @@ export default function App() { if (state.isSignin) return; if (!checked) return; //用户未同意隐私政策时不获取剪贴板信息 getClipboardContent(); - storeAppInfo(); }, [checked]); //登录后获取用户剪贴板内容