You've already forked bilibili-subtitle
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ff6dae7a21 | ||
![]() |
3adb541e99 |
@@ -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"
|
||||||
|
@@ -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",
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
}))
|
}))
|
||||||
|
Reference in New Issue
Block a user