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.
@@ -43,7 +43,7 @@ var ButtonExport = function (props) {
43
43
  exportBolb(res, fileName)
44
44
  .then(function (r) {
45
45
  if (r.result) {
46
- message.info(r.msg);
46
+ message.success(r.msg);
47
47
  }
48
48
  onClick && onClick(e, { result: true });
49
49
  })
@@ -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.info("复制成功!");
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.info("复制成功!");
135
+ message.success("复制成功!");
136
136
  document.execCommand("copy");
137
137
  }
138
138
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",