修改bug

This commit is contained in:
2025-09-19 14:53:16 +08:00
parent 61764be51e
commit 3cf3c9268c
25 changed files with 2221 additions and 20 deletions

View File

@@ -0,0 +1,13 @@
"use strict";
/* istanbul ignore next */
function setAttributesWithoutAttributes(styleElement, attributes) {
var nonce = typeof __webpack_nonce__ !== "undefined" ? __webpack_nonce__ : null;
if (nonce) {
attributes.nonce = nonce;
}
Object.keys(attributes).forEach(function (key) {
styleElement.setAttribute(key, attributes[key]);
});
}
module.exports = setAttributesWithoutAttributes;