第一次提交

This commit is contained in:
2025-05-02 13:09:37 +08:00
commit ea5690fe88
39 changed files with 11346 additions and 0 deletions

View File

@ -0,0 +1,9 @@
export function getInitialState(key) {
if (typeof window !== 'undefined' && window.__INITIAL_STATE__) {
if (window.__INITIAL_STATE__[key] !== undefined) {
let value = window.__INITIAL_STATE__[key]
delete window.__INITIAL_STATE__[key]
return value
}
}
}