Kaynağa Gözat

Merge branch 'master' of http://git.ycjcjy.com/shigongli/client-s

张延森 4 yıl önce
ebeveyn
işleme
4b0255f8b4
2 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 1
    1
      src/pages/batchimport/index.jsx
  2. 4
    2
      src/pages/shop/index.jsx

+ 1
- 1
src/pages/batchimport/index.jsx Dosyayı Görüntüle

@@ -165,7 +165,7 @@ const batchimport = props => {
165 165
             value={["取消", "上传"]}
166 166
             onClick={[
167 167
               e => {
168
-                setLabelList([]);
168
+        
169 169
                 setPageState("1");
170 170
               },
171 171
               e => onSave(e)

+ 4
- 2
src/pages/shop/index.jsx Dosyayı Görüntüle

@@ -19,10 +19,12 @@ const account = props => {
19 19
   ]);
20 20
 
21 21
   console.log(props, radioHouseState);
22
-  useEffect(() => {}, []);
22
+  useEffect(() => {
23
+    getShopList({ pageNum: 1, pageSize: 10 });
24
+  }, []);
23 25
 
24 26
   useDidShow(() => {
25
-    getShopList({ pageNum: 1, pageSize: 10 });
27
+    
26 28
   });
27 29
 
28 30
   function getShopList(params) {