ui: 优化资源加载

This commit is contained in:
undefined committed 2021-06-11 16:03:40 +08:00
1 parent bc74870a39
commit 167c70c2b1
24 files changed
+167 -188

No files matched your search

@@ -14,9 +14,7 @@ function getClosestTooltipElement(element) {
const tooltipPage = new AutoloadPage('tooltipPage', () => {
$(document).on('mouseover', (e) => {
const element = getClosestTooltipElement(e.target);
if (!element) {
return;
}
if (!element) return;
const $element = $(element);
const options = {};
if ($element.attr('data-tooltip-pos')) {