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
5f7b4cbe
Commit
5f7b4cbe
authored
Aug 04, 2023
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 组态增加源数据
parent
dfad8403
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
RealModel.js
...s/extend-components/EC_ConfigurationView/src/RealModel.js
+2
-3
No files found.
packages/extend-components/EC_ConfigurationView/src/RealModel.js
View file @
5f7b4cbe
...
@@ -914,11 +914,10 @@ const ConfigurationView = (props) => {
...
@@ -914,11 +914,10 @@ const ConfigurationView = (props) => {
);
);
};
};
/** ************************************数据源
模型
获取******************************* */
/** ************************************数据源
数据
获取******************************* */
const getDataModel = () => {
const getDataModel = () => {
const json = JSON.parse(myDiagram.model.toJson());
const json = JSON.parse(myDiagram.model.toJson());
const jsonCopy = JSON.parse(JSON.stringify(json));
const nodeDataArray = json.nodeDataArray;
const nodeDataArray = jsonCopy.nodeDataArray;
const dataCaseArr = nodeDataArray.filter((item) => {
const dataCaseArr = nodeDataArray.filter((item) => {
return item.category === '
dataSource
' && item.url;
return item.category === '
dataSource
' && item.url;
});
});
...
...
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