ftdsy-attr 2.1.5 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ftdsy-attr.esm.mjs
CHANGED
|
@@ -74973,6 +74973,18 @@ var error = {
|
|
|
74973
74973
|
}
|
|
74974
74974
|
};
|
|
74975
74975
|
|
|
74976
|
+
// 全局对象 polyfill
|
|
74977
|
+
if (typeof globalThis === 'undefined') {
|
|
74978
|
+
window.globalThis = globalThis;
|
|
74979
|
+
}
|
|
74980
|
+
if (typeof globalThis === 'undefined') {
|
|
74981
|
+
globalThis.global = globalThis;
|
|
74982
|
+
}
|
|
74983
|
+
|
|
74984
|
+
// 确保 globalThis 在非浏览器环境有定义
|
|
74985
|
+
if (typeof globalThis === 'undefined') {
|
|
74986
|
+
globalThis.self = globalThis;
|
|
74987
|
+
}
|
|
74976
74988
|
var main = {
|
|
74977
74989
|
createCategoryProperties: createCategoryProperties,
|
|
74978
74990
|
getOriginProperty: getOriginProperty,
|