fix: TypeError: Cannot read properties of undefined (reading '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED') at react-dom-CErclyH-.js:1:5784

This commit is contained in:
landaiqing
2024-05-05 01:20:15 +08:00
parent 9762e15b8b
commit bc569c7273
4 changed files with 38 additions and 317 deletions

View File

@@ -1,13 +1,6 @@
import HomeIndex from '@/components/HomeIndex'
import { useEffect } from 'react'
import { handleLocalforage } from '@/utils/localforage'
export default () => {
useEffect(() => {
handleLocalforage.getItem('token').then((res: any) => {
console.log(JSON.parse(res))
})
}, [])
return (
<div>
<HomeIndex />