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

fixx: 修改组态

parent 3b1ccea8
...@@ -2101,17 +2101,17 @@ const ConfigurationView = (props) => { ...@@ -2101,17 +2101,17 @@ const ConfigurationView = (props) => {
); );
/** **************************************合管连接方式****************************************** */ /** **************************************合管连接方式****************************************** */
myDiagram.linkTemplateMap.add( // myDiagram.linkTemplateMap.add(
'linkToLink', // 'linkToLink',
goJS( // goJS(
'Link', // 'Link',
{ relinkableFrom: true, relinkableTo: true }, // { relinkableFrom: true, relinkableTo: true },
goJS('Shape', { // goJS('Shape', {
stroke: '#2D9945', // stroke: '#2D9945',
strokeWidth: 2, // strokeWidth: 2,
}), // }),
), // ),
); // );
const fromJson = JSON.parse(jsonStr); const fromJson = JSON.parse(jsonStr);
// const setTime = setTimeout(() => { // const setTime = setTimeout(() => {
myTimeout(() => { myTimeout(() => {
......
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