replace url with video desc

This commit is contained in:
aynakeya 2023-12-01 06:57:00 -08:00
parent 2720364707
commit 40a3bb88ef
2 changed files with 5 additions and 5 deletions

View File

@ -43,9 +43,9 @@ function App() {
dataSource={captureList}
columns={[
{
title: '视频地址(捕获中……)',
dataIndex: 'url',
key: 'url',
title: '视频标题(捕获中……)',
dataIndex: 'description',
key: 'description',
render: value => value,
ellipsis: true,
},

View File

@ -218,8 +218,8 @@ export default createMachine(
},
},
actions: {
action_视频捕获: actions.assign(({ captureList }, { url, size, description, decode_key, ...other }) => {
captureList.push({ size, url, prettySize: prettyBytes(+size), ...other });
action_视频捕获: actions.assign(({ captureList }, { url, size, description, decodeKey, ...other }) => {
captureList.push({ size, url, prettySize: prettyBytes(+size), description, decodeKey, ...other });
return {
captureList: uniqBy(captureList, 'url'),