2 Commits

Author SHA1 Message Date
IndieKKY
ff6dae7a21 chore: release 1.10.4 2024-09-19 16:05:58 +08:00
IndieKKY
3adb541e99 fix 2024-09-19 16:05:42 +08:00
4 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "哔哩哔哩字幕列表", "name": "哔哩哔哩字幕列表",
"description": "显示B站视频的字幕列表,可点击跳转与下载字幕,并支持翻译和总结字幕!", "description": "显示B站视频的字幕列表,可点击跳转与下载字幕,并支持翻译和总结字幕!",
"version": "1.10.3", "version": "1.10.4",
"manifest_version": 3, "manifest_version": 3,
"permissions": [ "permissions": [
"storage" "storage"

View File

@@ -1,7 +1,7 @@
{ {
"private": true, "private": true,
"name": "bilibili-subtitle", "name": "bilibili-subtitle",
"version": "1.10.3", "version": "1.10.4",
"type": "module", "type": "module",
"description": "哔哩哔哩字幕列表", "description": "哔哩哔哩字幕列表",
"main": "index.js", "main": "index.js",

View File

@@ -408,12 +408,12 @@ const Settings = () => {
<div className='flex justify-center gap-5'> <div className='flex justify-center gap-5'>
<button className='btn btn-primary btn-sm' onClick={onSave}></button> <button className='btn btn-primary btn-sm' onClick={onSave}></button>
<button className='btn btn-sm' onClick={onCancel}></button> <button className='btn btn-sm' onClick={onCancel}></button>
<button className='btn btn-sm' onClick={() => { {/* <button className='btn btn-sm' onClick={() => {
dispatch(setTempData({ dispatch(setTempData({
reviewed: undefined, reviewed: undefined,
// reviewActions: 0 // reviewActions: 0
})) }))
}}></button> }}>重置</button> */}
</div> </div>
</div> </div>
</div> </div>

View File

@@ -45,7 +45,7 @@ const useSubtitleService = () => {
//如果reviewActions达到15次则设置reviewed为false //如果reviewActions达到15次则设置reviewed为false
useEffect(() => { useEffect(() => {
if (reviewed === undefined && reviewActions && reviewActions >= 3) { if (reviewed === undefined && reviewActions && reviewActions >= 15) {
dispatch(setTempData({ dispatch(setTempData({
reviewed: false reviewed: false
})) }))