Commit 326d9bfdae1645086221de2c21e7ded615c8b72d

Authored by ww
1 parent 662842e7

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

... ... @@ -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);
... ...