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

fix: 组态依赖包修改

parent eac03aed
......@@ -33,10 +33,10 @@
},
"dependencies": {
"@babel/runtime": "^7.17.9",
"@wisdom-components/ec_historyview": "1.4.5",
"@wisdom-components/empty": "1.3.9",
"@wisdom-components/loadbox": "1.1.5",
"@wisdom-components/mqttview": "1.3.7",
"@wisdom-components/ec_historyview": "^1.12.2",
"@wisdom-components/empty": "^1.3.9",
"@wisdom-components/loadbox": "^1.1.5",
"@wisdom-components/mqttview": "^1.3.7",
"cross-env": "^7.0.3"
}
}
......@@ -1134,9 +1134,6 @@ const ConfigurationView = (props) => {
new go.Binding('font', 'style').makeTwoWay(),
new go.Binding('stroke', 'color').makeTwoWay(),
new go.Binding('textAlign', 'align').makeTwoWay(),
// new go.Binding('textSize', 'width', function(v) {
// return new go.Size(v, NaN);
// }),
new go.Binding('maxSize', 'width', function (v) {
try {
return new go.Size(v - 20, NaN);
......
......@@ -1641,9 +1641,6 @@ const ConfigurationView = (props) => {
new go.Binding('font', 'style').makeTwoWay(),
new go.Binding('stroke', 'color').makeTwoWay(),
new go.Binding('textAlign', 'align').makeTwoWay(),
// new go.Binding('textSize', 'width', function(v) {
// return new go.Size(v, NaN);
// }),
new go.Binding('maxSize', 'width', function (v) {
try {
return new go.Size(v - 20, NaN);
......
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