Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
b30ea7f2
Commit
b30ea7f2
authored
Feb 19, 2024
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 云台控制修改
parent
13044c08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
App.jsx
packages/base-components/VmsVideo/src/App.jsx
+3
-0
index.js
packages/base-components/VmsVideo/src/recVideo/index.js
+1
-1
No files found.
packages/base-components/VmsVideo/src/App.jsx
View file @
b30ea7f2
...
...
@@ -131,6 +131,9 @@ class App extends React.Component {
}
appendControl
()
{
const
{
VideoInfo
}
=
this
.
props
;
const
type
=
VideoInfo
?.
type
||
''
;
if
(
type
===
'rec'
)
return
false
;
try
{
if
(
!
this
.
domRef
.
current
||
this
.
domRef
.
current
.
getElementsByClassName
(
'jessibuca-control'
).
length
)
return
false
;
const
parentElement
=
this
.
domRef
.
current
.
getElementsByClassName
(
"jessibuca-controls-right"
)[
0
];
...
...
packages/base-components/VmsVideo/src/recVideo/index.js
View file @
b30ea7f2
...
...
@@ -117,7 +117,7 @@ const RecVideo = (props, ref) => {
<
div
className
=
{
classNames
(
`
${
prefixCls
}
-video`
)}
>
{
showId
&&
(
<
TestVideo
VideoInfo
=
{{
...
VideoInfo
,
id
:
showId
}}
VideoInfo
=
{{
...
VideoInfo
,
id
:
showId
,
type
:
'rec'
}}
JessibucaObj
=
{{
...
JessibucaObj
}}
key
=
{
showId
}
ref
=
{
jessibuca
}
...
...
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