很高兴可以看到issue Unexpected Application Error! Cannot read properties of undefined (reading 'identifyWindow') TypeError: Cannot read properties of undefined (reading 'identifyWindow') at http://localhost:5173/src/pages/EmptySlot.tsx:23:22 at commitHookEffectListMount (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:16883:34) at invokePassiveEffectMountInDEV (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:18292:19) at invokeEffectsInDev (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19669:19) at commitDoubleInvokeEffectsInDEV (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19654:15) at flushPassiveEffectsImpl (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19471:13) at flushPassiveEffects (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19415:22) at http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19296:17 at workLoop (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:197:42) at flushWork (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:176:22) 💿 Hey developer 👋 You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary or errorElement prop on your route.
很高兴可以看到issue
Unexpected Application Error!
Cannot read properties of undefined (reading 'identifyWindow')
TypeError: Cannot read properties of undefined (reading 'identifyWindow')
at http://localhost:5173/src/pages/EmptySlot.tsx:23:22
at commitHookEffectListMount (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:16883:34)
at invokePassiveEffectMountInDEV (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:18292:19)
at invokeEffectsInDev (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19669:19)
at commitDoubleInvokeEffectsInDEV (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19654:15)
at flushPassiveEffectsImpl (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19471:13)
at flushPassiveEffects (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19415:22)
at http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:19296:17
at workLoop (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:197:42)
at flushWork (http://localhost:5173/node_modules/.vite/deps/chunk-FD7TT4JZ.js?v=6bd317b3:176:22)
💿 Hey developer 👋
You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary or errorElement prop on your route.