[PlayerPanel] chat error
This commit is contained in:
@@ -99,7 +99,7 @@ export const getSubTitle =
|
||||
|
||||
dispatch({
|
||||
type: types.GET_SUBTITLE,
|
||||
payload: {url: showSubtitleUrl, data: response.data.data},
|
||||
payload: { url: showSubtitleUrl, data: response.data.data },
|
||||
});
|
||||
};
|
||||
|
||||
@@ -107,11 +107,11 @@ export const getSubTitle =
|
||||
console.error("getSubTitle onFail", error);
|
||||
dispatch({
|
||||
type: types.GET_SUBTITLE,
|
||||
payload: {url: showSubtitleUrl, data: "Error"},
|
||||
payload: { url: showSubtitleUrl, data: "Error" },
|
||||
});
|
||||
};
|
||||
|
||||
if(!getState().play.subTitleBlobs[showSubtitleUrl]){
|
||||
if (!getState().play.subTitleBlobs[showSubtitleUrl]) {
|
||||
TAxios(
|
||||
dispatch,
|
||||
getState,
|
||||
@@ -122,8 +122,14 @@ export const getSubTitle =
|
||||
onSuccess,
|
||||
onFail
|
||||
);
|
||||
}else{
|
||||
console.log("playActions getSubTitle no Nothing it's exist", showSubtitleUrl);
|
||||
} else {
|
||||
console.log(
|
||||
"playActions getSubTitle no Nothing it's exist",
|
||||
showSubtitleUrl
|
||||
);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
export const CLEAR_PLAYER_INFO = () => ({
|
||||
type: types.CLEAR_PLAYER_INFO,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user