Browse Source

历史时间点击确认

dev_trial
wenlele 2 years ago
parent
commit
e41e1789ae
  1. 2
      code/VideoAccess-VCMP/api/.vscode/launch.json
  2. 2
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperationHistroyTime.jsx

2
code/VideoAccess-VCMP/api/.vscode/launch.json

@ -17,7 +17,7 @@
"-f http://localhost:4000", "-f http://localhost:4000",
// "-g postgres://postgres:123@10.8.30.166:5432/video-access", // "-g postgres://postgres:123@10.8.30.166:5432/video-access",
"-g postgres://postgres:123@10.8.30.166:5432/video_access-dev", "-g postgres://postgres:123@10.8.30.166:5432/video_access-dev",
"--redisHost 10.8.30.112", "--redisHost 127.0.0.1",
"--redisPort 6379", "--redisPort 6379",
"--axyApiUrl http://127.0.0.1:4100", "--axyApiUrl http://127.0.0.1:4100",
// "--axyApiUrl http://10.8.30.161:31260", // "--axyApiUrl http://10.8.30.161:31260",

2
code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperationHistroyTime.jsx

@ -31,7 +31,7 @@ const VideoOperationHistroyTime = ({ close, histroyTime, setHistroyTime, setProc
type="dateTimeRange" type="dateTimeRange"
needConfirm={true} needConfirm={true}
value={selectedTimeRange} value={selectedTimeRange}
onChange={(t, timeRange) => { onConfirm={(t, timeRange) => {
setSelectedTimeRange(timeRange) setSelectedTimeRange(timeRange)
console.log(timeRange); console.log(timeRange);
}} }}

Loading…
Cancel
Save