Commit 72904cc9a4f173c718cdfb9b2c9ddaa01adc18c9
1 parent
2abf7e03
perf: hide cell outside arrow element
Showing
2 changed files
with
3 additions
and
2 deletions
| @@ -6147,7 +6147,6 @@ DataFormatPanel.prototype.addDataFont = function (container) { | @@ -6147,7 +6147,6 @@ DataFormatPanel.prototype.addDataFont = function (container) { | ||
| 6147 | */ | 6147 | */ |
| 6148 | function createSelectOptionMountEvent(params) { | 6148 | function createSelectOptionMountEvent(params) { |
| 6149 | $(`#${enumActionEl.DEVICE_DATA_BODY_EL}`).on('click', '.layui-form-select', event => { | 6149 | $(`#${enumActionEl.DEVICE_DATA_BODY_EL}`).on('click', '.layui-form-select', event => { |
| 6150 | - console.log(event) | ||
| 6151 | const width = event.currentTarget.offsetWidth || 200 | 6150 | const width = event.currentTarget.offsetWidth || 200 |
| 6152 | const height = event.currentTarget.offsetHeight || 38 | 6151 | const height = event.currentTarget.offsetHeight || 38 |
| 6153 | const offset = $(event.currentTarget).offset() | 6152 | const offset = $(event.currentTarget).offset() |
| @@ -5497,7 +5497,9 @@ HoverIcons.prototype.createArrow = function(img, tooltip, direction) | @@ -5497,7 +5497,9 @@ HoverIcons.prototype.createArrow = function(img, tooltip, direction) | ||
| 5497 | } | 5497 | } |
| 5498 | })); | 5498 | })); |
| 5499 | 5499 | ||
| 5500 | - return arrow; | 5500 | + // TODO thingsKit 隐藏cell四周的箭头 |
| 5501 | + return document.createElement('div'); | ||
| 5502 | + // return arrow; | ||
| 5501 | }; | 5503 | }; |
| 5502 | 5504 | ||
| 5503 | /** | 5505 | /** |