Compare commits

...

2 Commits
main ... test

Author SHA1 Message Date
yezian 5b2fb0870f Merge branch 'main' into test 2024-03-21 19:19:35 +08:00
yezian c46df95627 删除登录前的读取剪贴板和保存设备信息 2024-03-21 19:13:27 +08:00
1 changed files with 2 additions and 11 deletions

13
App.jsx
View File

@ -140,9 +140,6 @@ 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();
@ -212,16 +209,10 @@ export default function App() {
setInviterCode(null);
}, []);
//,
useEffect(() => {
if (state.isSignin) return;
if (!checked) return; //
getClipboardContent();
}, [checked]);
//
//app
useEffect(() => {
if (!state.isSignin) return;
storeAppInfo();
getClipboardContent();
}, [state.isSignin]);