Commit a7c94e75f0a89f6bbe67edad8694256f917698d3

Authored by 温伟
2 parents 662842e7 326d9bfd

Merge branch 'fix/DEFECT-3029' into 'main_dev'

fix: 修复组态背景图片设置

See merge request yunteng/thingskit-scada!263
... ... @@ -1554,6 +1554,7 @@ var BackgroundImageDialog = function (editorUi, applyFn, img, color, showColor)
1554 1554 widthInput.style.marginLeft = '8px';
1555 1555 widthInput.style.marginRight = '16px';
1556 1556 widthInput.value = (img != null && !isPageLink) ? img.width : '';
  1557 + widthInput.setAttribute('disabled', true)
1557 1558
1558 1559 div.appendChild(widthInput);
1559 1560
... ... @@ -1565,6 +1566,7 @@ var BackgroundImageDialog = function (editorUi, applyFn, img, color, showColor)
1565 1566 heightInput.style.marginLeft = '8px';
1566 1567 heightInput.style.marginRight = '16px';
1567 1568 heightInput.value = (img != null && !isPageLink) ? img.height : '';
  1569 + heightInput.setAttribute('disabled', true)
1568 1570
1569 1571 div.appendChild(heightInput);
1570 1572 mxUtils.br(div);
... ...