Commit e3ef1ccd authored by 李纪文's avatar 李纪文

feat: 修改视频site

parent e45d12fd
......@@ -32,7 +32,7 @@ const CloudPlate = (props) => {
const data = {
id: videoInfo.id,
direction: num,
'site-code': !navigatorAgent ? window?.globalConfig?.userInfo?.LocalSite || '' : userInfo?.LocalSite || '',
'site-code': !navigatorAgent ? window?.globalConfig?.userInfo?.LocalSite || window?.globalConfig?.userInfo?.site || '' : userInfo?.LocalSite || '',
};
for (const key in data) {
formData.append(key, data[key]);
......
......@@ -43,7 +43,7 @@ const RecVideo = (props, ref) => {
force: 1,
startTime: formattedTime,
endTime: edDates,
'site-code': window?.globalConfig?.userInfo?.LocalSite || '',
'site-code': window?.globalConfig?.userInfo?.LocalSite || window?.globalConfig?.userInfo?.site || '',
};
rePaly(params);
}
......@@ -62,7 +62,7 @@ const RecVideo = (props, ref) => {
force: 1,
startTime: stTimes,
endTime: edTimes,
'site-code': window?.globalConfig?.userInfo?.LocalSite || '',
'site-code': window?.globalConfig?.userInfo?.LocalSite || window?.globalConfig?.userInfo?.site || '',
};
setHoursRuler(hoursPerRuler);
setMinTimestamp(moment(stTimes).valueOf());
......
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