@moluoxixi/ajax-package 0.0.39 → 0.0.40
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/es/index.mjs +3 -2
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document !== "undefined") {
|
|
5
|
-
if (!document.getElementById("
|
|
5
|
+
if (!document.getElementById("5c5ddf65-d087-449e-b6c7-84efae17b03f")) {
|
|
6
6
|
var elementStyle = document.createElement("style");
|
|
7
|
-
elementStyle.id = "
|
|
7
|
+
elementStyle.id = "5c5ddf65-d087-449e-b6c7-84efae17b03f";
|
|
8
8
|
elementStyle.appendChild(document.createTextNode("._root_11p33_1 .el-dialog__header {\n padding: 0 12px 12px;\n}\n\n._root_11p33_1 .el-dialog__body {\n border-top: 1px solid #e5e7eb;\n border-bottom: 1px solid #e5e7eb;\n padding: 0 12px;\n}\n\n._root_11p33_1 .el-dialog__footer {\n padding: 0 12px;\n}"));
|
|
9
9
|
document.head.appendChild(elementStyle);
|
|
10
10
|
}
|
|
@@ -12637,6 +12637,7 @@ async function copyToClipboard(text) {
|
|
|
12637
12637
|
textArea.style.top = "-999999px";
|
|
12638
12638
|
document.body.appendChild(textArea);
|
|
12639
12639
|
textArea.select();
|
|
12640
|
+
document.execCommand("copy");
|
|
12640
12641
|
textArea.remove();
|
|
12641
12642
|
return true;
|
|
12642
12643
|
}
|