fixed: 更新中文文案

This commit is contained in:
LittleBoy 2025-02-09 15:33:47 +08:00
parent e1779d7923
commit 34cc9a75bb
2 changed files with 5 additions and 5 deletions

View File

@ -69,12 +69,12 @@
"edit_notice_enter_article_content": "请输入正文文本内容",
"edit_notice_enter_article_title": "请输入文章标题",
"edit_notice_enter_article_title1": "请输入标题内容",
"edit_notice_enter_text": "请先填写文本内容",
"edit_notice_enter_text": "请先填写当前素材组",
"edit_notice_keep_1": "至少保留一个内容块",
"edit_other_text": "素材融合呈现编辑区",
"edit_save_failed": "保存失败,请重试!",
"edit_save_failed": "保存失败请重试!",
"edit_empty_human_content": "请先填写数字人播报内容",
"edit_empty_group_content": "正文文本和图片均不为空",
"edit_empty_group_content": "素材区的文本和图片,均不得为空",
"editing": "新闻编辑",
"filter_all": "全部",
"filter_source": "新闻来源",

View File

@ -198,7 +198,7 @@ export default function LiveIndex() {
.filter((_, index) => (index < state.activeIndex))
.reduce((sum, v) => sum + Math.ceil(v.video_duration / 1000), 0) + state.playProgress
;
}, [videoData, state.playProgress])
}, [state.activeIndex, state.playProgress, videoData])
const currentSelectedId = useMemo(() => {
if (state.activeIndex < 0 || state.activeIndex >= videoData.length) return [];
@ -209,7 +209,7 @@ export default function LiveIndex() {
const currentSelectedVideoIds = useMemo(()=>{
const activeId = videoData[state.activeIndex]?.id || -1;
return checkedIdArray.length == 0 ? [] : checkedIdArray.filter(id => id != activeId)
},[checkedIdArray,state.activeIndex])
},[checkedIdArray, state.activeIndex, videoData])
return (<div className="container py-5 page-live">
<div className="h-[36px]"></div>