From 9c7c21e8eacda173feb418bdfe739f7f97358233 Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Sun, 29 Mar 2020 17:28:46 +0800
Subject: [PATCH] bug修复

---
 SunshineIns/src/page/ActiveManage.jsx |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/SunshineIns/src/page/ActiveManage.jsx b/SunshineIns/src/page/ActiveManage.jsx
index 2eacf29..819609c 100644
--- a/SunshineIns/src/page/ActiveManage.jsx
+++ b/SunshineIns/src/page/ActiveManage.jsx
@@ -144,7 +144,17 @@
         this.setState({
             formData: data,
         });
-        this.getData();
+        this.setState({ loading: true })
+        Fetch.activeManage({ ...this.state.formData })
+            .then(res => {
+                for (var i = 0; i < res.length; i++) {
+                    res[i]['index'] = i + 1;
+                }
+                this.setState({
+                    data: res,
+                    loading: false
+                });
+            });
     }
 
     saveInputChange = ({ target: { value, name } }) => {

--
Gitblit v1.8.0