Commit 9a230831 authored by haiyoucuv's avatar haiyoucuv

init

parent cd16bbfd
......@@ -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;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment