zmdms-webui 1.2.2 → 1.2.3
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/es/table/utils.js
CHANGED
|
@@ -123,7 +123,7 @@ function copyColData(key, dataSource) {
|
|
|
123
123
|
try {
|
|
124
124
|
if ((navigator === null || navigator === void 0 ? void 0 : navigator.clipboard) && window.isSecureContext) {
|
|
125
125
|
(_b = (_a = navigator.clipboard) === null || _a === void 0 ? void 0 : _a.writeText(str)) === null || _b === void 0 ? void 0 : _b.then(function () {
|
|
126
|
-
message.
|
|
126
|
+
message.success("复制成功!");
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
@@ -132,7 +132,7 @@ function copyColData(key, dataSource) {
|
|
|
132
132
|
document.body.appendChild(textarea);
|
|
133
133
|
textarea.select();
|
|
134
134
|
if (document.execCommand) {
|
|
135
|
-
message.
|
|
135
|
+
message.success("复制成功!");
|
|
136
136
|
document.execCommand("copy");
|
|
137
137
|
}
|
|
138
138
|
else {
|