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
d38f85ef
Commit
d38f85ef
authored
May 17, 2023
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改组态
parent
85b4a188
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
RealModel.js
...s/extend-components/EC_ConfigurationView/src/RealModel.js
+2
-2
No files found.
packages/extend-components/EC_ConfigurationView/src/RealModel.js
View file @
d38f85ef
...
@@ -1296,7 +1296,7 @@ const ConfigurationView = (props) => {
...
@@ -1296,7 +1296,7 @@ const ConfigurationView = (props) => {
const videoScanMethod = async (data) => {
const videoScanMethod = async (data) => {
try {
try {
const opRule = JSON.parse(data.opRule);
const opRule = JSON.parse(data.opRule);
const { vdCode, vdList } = opRule;
const { vdCode, vdList
, vdName
} = opRule;
if (!vdCode || !vdList) return setVideoData([]);
if (!vdCode || !vdList) return setVideoData([]);
const detail = await getVideoDetail({
const detail = await getVideoDetail({
UserID: 1,
UserID: 1,
...
@@ -1326,7 +1326,7 @@ const ConfigurationView = (props) => {
...
@@ -1326,7 +1326,7 @@ const ConfigurationView = (props) => {
address: list.address,
address: list.address,
});
});
});
});
setVideoTitle(
dataList?.deviceName ||
'
视频查看
');
setVideoTitle(
vdName +
'
视频查看
');
setVideoData(detailList);
setVideoData(detailList);
detailList.length && setIsVideoVisible(true);
detailList.length && setIsVideoVisible(true);
} catch (e) {
} catch (e) {
...
...
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