storeinfo放回到初始化中

This commit is contained in:
yezian 2024-02-06 19:14:03 +08:00
parent 44ed9f5d85
commit 320aab978b
1 changed files with 3 additions and 1 deletions

View File

@ -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]);
//