@zgfe/modules-page 1.0.1-alpha.15 → 1.0.1-alpha.16
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.
|
@@ -129,10 +129,7 @@ var ModulesPage = function ModulesPage(props) {
|
|
|
129
129
|
}
|
|
130
130
|
if (type === 'pageGroup' && !(searchValue !== null && searchValue !== void 0 && searchValue.pageGroup)) return;
|
|
131
131
|
if (type === 'page' || pageType === 'detail') {
|
|
132
|
-
|
|
133
|
-
setOriginSearchValue(_.cloneDeep(searchValue));
|
|
134
|
-
fetch();
|
|
135
|
-
}
|
|
132
|
+
fetch();
|
|
136
133
|
}
|
|
137
134
|
}, [searchValue]);
|
|
138
135
|
// 查询结果
|
|
@@ -142,6 +139,10 @@ var ModulesPage = function ModulesPage(props) {
|
|
|
142
139
|
}
|
|
143
140
|
setLoading(true);
|
|
144
141
|
setTimer(setTimeout(function () {
|
|
142
|
+
if (_.isEqual(originSearchValue, searchValue)) {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
setOriginSearchValue(_.cloneDeep(searchValue));
|
|
145
146
|
var param = _objectSpread({
|
|
146
147
|
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
|
|
147
148
|
platform: 3,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-page",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.16",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"prettier": "^2.2.1",
|
|
51
51
|
"yorkie": "^2.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "b791fde5be516ddc341c5e516c251e19ab3a6bdd"
|
|
54
54
|
}
|