Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kww_dayDayGetCredits_250512
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
kww_dayDayGetCredits_250512
Commits
9a230831
Commit
9a230831
authored
May 19, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
cd16bbfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
VideoPanel.tsx
src/panels/VideoPanel/VideoPanel.tsx
+2
-0
No files found.
src/panels/VideoPanel/VideoPanel.tsx
View file @
9a230831
...
...
@@ -7,6 +7,7 @@ import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx";
import
classNames
from
"classnames"
;
import
API
from
"@/api"
;
import
ObtainPanel
from
"@/panels/ObtainPanel/ObtainPanel.tsx"
;
import
store
from
"@/store/store.ts"
;
export
interface
IVideoPanelProps
{
url
:
string
;
...
...
@@ -48,6 +49,7 @@ class VideoPanel extends React.Component<IVideoPanelProps> {
finishVideoTask
=
_asyncThrottle
(
async
()
=>
{
const
{
taskId
}
=
this
.
props
;
const
{
success
,
data
}
=
await
API
.
startVideo
({
taskId
});
store
.
updateIndex
();
if
(
!
success
)
return
;
this
.
completeData
=
data
;
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment