Showing
3 changed files
with
2 additions
and
4 deletions
| @@ -31,7 +31,6 @@ | @@ -31,7 +31,6 @@ | ||
| 31 | 31 | ||
| 32 | <script src="./plugins/axios.min.js"></script> | 32 | <script src="./plugins/axios.min.js"></script> | 
| 33 | <!-- <script src="./js/jquery/jquery-3.3.1.min.js"></script>--> | 33 | <!-- <script src="./js/jquery/jquery-3.3.1.min.js"></script>--> | 
| 34 | - <!-- <script src="./js/jquery.easyui.min.js"></script>--> | ||
| 35 | <link rel="stylesheet" href="https://cdnjs.loli.net/ajax/libs/layui/2.6.8/css/layui.min.css" | 34 | <link rel="stylesheet" href="https://cdnjs.loli.net/ajax/libs/layui/2.6.8/css/layui.min.css" | 
| 36 | integrity="sha512-iQBJbsNHXUcgEIgWThd2dr8tOdKPvICwqjPEZYY81z3eMya44A5MiAqfWSCh+Ee1YzNYkdrI982Qhwgr8LEYOQ==" | 35 | integrity="sha512-iQBJbsNHXUcgEIgWThd2dr8tOdKPvICwqjPEZYY81z3eMya44A5MiAqfWSCh+Ee1YzNYkdrI982Qhwgr8LEYOQ==" | 
| 37 | crossorigin="anonymous" referrerpolicy="no-referrer"/> | 36 | crossorigin="anonymous" referrerpolicy="no-referrer"/> | 
| @@ -345,7 +344,6 @@ | @@ -345,7 +344,6 @@ | ||
| 345 | <!-- <link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">--> | 344 | <!-- <link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">--> | 
| 346 | <link rel="mask-icon" href="images/safari-pinned-tab.svg" color="#d89000"> | 345 | <link rel="mask-icon" href="images/safari-pinned-tab.svg" color="#d89000"> | 
| 347 | <link rel="stylesheet" type="text/css" href="styles/grapheditor.css"> | 346 | <link rel="stylesheet" type="text/css" href="styles/grapheditor.css"> | 
| 348 | - <link rel="stylesheet" type="text/css" href="styles/easyui.css"> | ||
| 349 | <link rel="preconnect" href="https://storage.googleapis.com"> | 347 | <link rel="preconnect" href="https://storage.googleapis.com"> | 
| 350 | <link rel="canonical" href="https://app.diagrams.net"> | 348 | <link rel="canonical" href="https://app.diagrams.net"> | 
| 351 | <link rel="manifest" href="images/manifest.json"> | 349 | <link rel="manifest" href="images/manifest.json"> | 
| @@ -10868,6 +10868,7 @@ | @@ -10868,6 +10868,7 @@ | ||
| 10868 | 10868 | ||
| 10869 | // KNOWN: SVG and delayed content currently not supported | 10869 | // KNOWN: SVG and delayed content currently not supported | 
| 10870 | var dataUrl = this.createImageDataUri(canvas, xml, 'png'); | 10870 | var dataUrl = this.createImageDataUri(canvas, xml, 'png'); | 
| 10871 | + console.log(dataUrl) | ||
| 10871 | var w = parseInt(svgRoot.getAttribute('width')); | 10872 | var w = parseInt(svgRoot.getAttribute('width')); | 
| 10872 | var h = parseInt(svgRoot.getAttribute('height')); | 10873 | var h = parseInt(svgRoot.getAttribute('height')); | 
| 10873 | this.writeImageToClipboard(dataUrl, w, h, mxUtils.bind(this, function(e) | 10874 | this.writeImageToClipboard(dataUrl, w, h, mxUtils.bind(this, function(e) | 
| @@ -5534,7 +5534,6 @@ DataFormatPanel.prototype.addDataFont = function (container) { | @@ -5534,7 +5534,6 @@ DataFormatPanel.prototype.addDataFont = function (container) { | ||
| 5534 | 5534 | ||
| 5535 | function generatorEventlisten() { | 5535 | function generatorEventlisten() { | 
| 5536 | form.on(`select(${enumActionEL.SCOPE_FILTER})`, event => { | 5536 | form.on(`select(${enumActionEL.SCOPE_FILTER})`, event => { | 
| 5537 | - console.log(event) | ||
| 5538 | const value = event.value || 0 | 5537 | const value = event.value || 0 | 
| 5539 | const options = defaultIntervalOptions[value].linkage.map(item => ({ id: item.id * unitConversion[item.unit], name: item.id + unitMapping[item.unit] })) | 5538 | const options = defaultIntervalOptions[value].linkage.map(item => ({ id: item.id * unitConversion[item.unit], name: item.id + unitMapping[item.unit] })) | 
| 5540 | const template = UseLayUi.generateOptionTemplate({ | 5539 | const template = UseLayUi.generateOptionTemplate({ | 
| @@ -12285,7 +12284,7 @@ class DispatchCenter { | @@ -12285,7 +12284,7 @@ class DispatchCenter { | ||
| 12285 | subscribeDataSources(datum, eventName, key) { | 12284 | subscribeDataSources(datum, eventName, key) { | 
| 12286 | const node = this.contentAllCell.find(item => item.id === datum.nodeId) | 12285 | const node = this.contentAllCell.find(item => item.id === datum.nodeId) | 
| 12287 | this.eventBus.on(eventName, (message) => { | 12286 | this.eventBus.on(eventName, (message) => { | 
| 12288 | - this.updatePage(() => { | 12287 | + node && this.updatePage(() => { | 
| 12289 | const { data } = message | 12288 | const { data } = message | 
| 12290 | const [[timespan, value]] = data[key] | 12289 | const [[timespan, value]] = data[key] | 
| 12291 | node.setValue(value) | 12290 | node.setValue(value) |