更新依赖项及历史人物相关内容资源
- 更新 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
@@ -3,7 +3,7 @@
|
||||
* 管理银元之战相关的所有状态
|
||||
*/
|
||||
import { useState } from 'react'
|
||||
import { useChenyunStore } from '@/store/chenyunStore'
|
||||
import { useChenyunStore, saveChenyunStore } from '@/store/chenyunStore'
|
||||
|
||||
/**
|
||||
* 银元之战状态管理 Hook
|
||||
@@ -16,6 +16,7 @@ export const useYinyuanState = () => {
|
||||
// 更新解决状态时,直接更新 store
|
||||
const handleSetIsYinyuanSolved = (solved: boolean) => {
|
||||
setYinyuanSolved(solved)
|
||||
saveChenyunStore()
|
||||
}
|
||||
|
||||
// 多选题1相关状态
|
||||
|
||||
Reference in new issue
Block a user