@zgfe/business-lib 1.2.70-hxd.4 → 1.2.70-hxd.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.
|
@@ -176,7 +176,7 @@ var EventListPanel = function EventListPanel(props) {
|
|
|
176
176
|
useEffect(function () {
|
|
177
177
|
var list = [];
|
|
178
178
|
currentGroup === null || currentGroup === void 0 ? void 0 : currentGroup.eventList.forEach(function (event) {
|
|
179
|
-
if (searchValue && !new RegExp(_.escapeRegExp(searchValue), 'i').test("".concat(event.owner === 'zg_vtl' ? '虚拟事件' : '元事件', " | ").concat(event.alias || event.name))) return;
|
|
179
|
+
if (searchValue && !(new RegExp(_.escapeRegExp(searchValue), 'i').test("".concat(event.owner === 'zg_vtl' ? '虚拟事件' : '元事件', " | ").concat(event.alias)) || new RegExp(_.escapeRegExp(searchValue), 'i').test("".concat(event.owner === 'zg_vtl' ? '虚拟事件' : '元事件', " | ").concat(event.name)))) return;
|
|
180
180
|
list.push(event);
|
|
181
181
|
});
|
|
182
182
|
if (showOverview) list.unshift(overviewData);
|
package/es/utils/ajax.js
CHANGED
|
@@ -67,8 +67,7 @@ var downloadFile1 = function downloadFile1(resData, name) {
|
|
|
67
67
|
var blob = resData.data;
|
|
68
68
|
var fileName = resData.response.headers.get('Filename') || util.guid();
|
|
69
69
|
if (name) {
|
|
70
|
-
|
|
71
|
-
fileName = "".concat(name, ".").concat(fileType);
|
|
70
|
+
fileName = "".concat(name);
|
|
72
71
|
}
|
|
73
72
|
var href = URL.createObjectURL(blob);
|
|
74
73
|
var a = document.createElement('a');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.70-hxd.
|
|
3
|
+
"version": "1.2.70-hxd.7",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react": "^16.12.0 || ^17.0.0",
|
|
56
56
|
"yorkie": "^2.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "ec19e4c7148a0a377c28e23a6c969c79952087a7",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|