mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-13 17:52:28 +08:00
Fixes bug 新增 顶部混合菜单
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user