更新依赖项及历史人物相关内容资源
- 更新 package.json 和 package-lock.json 中的依赖项 - 新增/更新陈云、黄炎培、鲁迅、孙中山的音频文件 - 新增场景和组件的图片资源 - 清理未使用的音频和图片文件 - 优化多个组件和页面的实现逻辑
This commit is contained in:
1 parent
b1d55b9464
commit
e0fa47d21a
629 files changed
+24390
-2991
No files matched your search
+2
-2
@@ -2,7 +2,7 @@ import { StrictMode } from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import './index.css'
|
||||
import App from './App'
|
||||
import { useChenyunStore, useHuangyanpeiStore, usePuzzleStore, useClueStore } from './store'
|
||||
import { useChenyunStore, useHuangyanpeiStore, usePuzzleStore, useSunzhongshanStore } from './store'
|
||||
|
||||
// 在开发模式的移动端启用 vConsole(需先安装 vconsole 依赖)
|
||||
if (import.meta.env.DEV && typeof window !== 'undefined') {
|
||||
@@ -42,7 +42,7 @@ const setupGlobalKeyboardShortcuts = () => {
|
||||
useChenyunStore.getState().resetAll()
|
||||
useHuangyanpeiStore.getState().resetAll()
|
||||
usePuzzleStore.getState().resetAll()
|
||||
useClueStore.getState().resetAll()
|
||||
useSunzhongshanStore.getState().resetAll()
|
||||
|
||||
// 显示成功消息
|
||||
alert('所有缓存已重置!页面将刷新。')
|
||||
|
||||
Reference in new issue
Block a user