UNPKG

jjb-lc-designable

Version:

基于alibaba-designable源码二次封装的表单设计器。

20 lines (19 loc) 418 B
function getGlobalThis() { try { if (typeof self !== 'undefined') { return self } } catch (e) {} try { if (typeof globalThisPolyfill !== 'undefined') { return globalThisPolyfill } } catch (e) {} try { if (typeof global !== 'undefined') { return global } } catch (e) {} return Function('return this')() } export const globalThisPolyfill: Window = getGlobalThis()