@titaui/pc 1.10.71 → 1.10.72

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.
@@ -209,17 +209,9 @@ var NewOkrList = function NewOkrList(props) {
209
209
  params.keyWords = "";
210
210
  }
211
211
 
212
- var request;
213
-
214
- if (!relation) {
215
- request = (0, _requestApi.okrSearch)(params);
216
- } else {
217
- request = (0, _requestApi.okrList)(params);
218
- }
219
-
220
212
  setLoading(true);
221
213
  recordVisitUser();
222
- request.then(function (res) {
214
+ (0, _requestApi.okrSearch)(params).then(function (res) {
223
215
  setOkrs(res.works || []);
224
216
  setTotal(res.total);
225
217
  setLoading(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.71",
3
+ "version": "1.10.72",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",