李志伟 3 anos atrás
pai
commit
c1c708ca6e
1 arquivos alterados com 11 adições e 11 exclusões
  1. 11
    11
      src/pages/building/Edit/Panorama/index.jsx

+ 11
- 11
src/pages/building/Edit/Panorama/index.jsx Ver arquivo

@@ -18,20 +18,20 @@ export default props => {
18 18
   useEffect(() => {
19 19
     console.log(props);
20 20
     getList();
21
-    getPanoramaList();
21
+    // getPanoramaList();
22 22
   }, [id]);
23 23
 
24 24
   //获取户型列表
25
-  function getPanoramaList(record) {
26
-    // 网路请求
27
-    request({ ...apis.paorama.panoramaApartList, params: { buildingId: id } })
28
-      .then(res => {
29
-        setPanoramaList(res);
30
-      })
31
-      .catch(err => {
32
-        this.openNotificationWithIcon('error', err);
33
-      });
34
-  }
25
+  // function getPanoramaList(record) {
26
+  //   // 网路请求
27
+  //   request({ ...apis.paorama.panoramaApartList, params: { buildingId: id } })
28
+  //     .then(res => {
29
+  //       setPanoramaList(res);
30
+  //     })
31
+  //     .catch(err => {
32
+  //       this.openNotificationWithIcon('error', err);
33
+  //     });
34
+  // }
35 35
 
36 36
   function getList(params) {
37 37
     setLoading(true);