Fixes bug 新增 顶部混合菜单

This commit is contained in:
Ah jung
2021-08-06 17:06:33 +08:00
parent 450234e7ea
commit 3e0b8efe7e
19 changed files with 432 additions and 63 deletions

View File

@@ -3,7 +3,7 @@ const getCss = function (o, key) {
// @ts-ignore
return o.currentStyle
? o.currentStyle[key]
: document.defaultView.getComputedStyle(o, false)[key];
: document.defaultView?.getComputedStyle(o, null)[key];
};
const params = {