Baozhangchao 3 lat temu
rodzic
commit
f82d07bbd8
1 zmienionych plików z 11 dodań i 11 usunięć
  1. 11
    11
      src/pages/building/Edit/Panorama/index.jsx

+ 11
- 11
src/pages/building/Edit/Panorama/index.jsx Wyświetl plik

@@ -30,20 +30,20 @@ export default props => {
30 30
 
31 31
     console.log(props);
32 32
     getList();
33
+    // getPanoramaList();
33 34
   }, [id]);
34 35
 
35 36
   //获取户型列表
36
-  function getPanoramaList(record) {
37
-    // 网路请求
38
-    request({ ...apis.paorama.panoramaApartList, params: { buildingId: id } })
39
-      .then(res => {
40
-
41
-        setPanoramaList(res);
42
-      }).catch(err => {
43
-
44
-        openNotificationWithIcon('error', err);
45
-      });
46
-  }
37
+  // function getPanoramaList(record) {
38
+  //   // 网路请求
39
+  //   request({ ...apis.paorama.panoramaApartList, params: { buildingId: id } })
40
+  //     .then(res => {
41
+  //       setPanoramaList(res);
42
+  //     })
43
+  //     .catch(err => {
44
+  //       this.openNotificationWithIcon('error', err);
45
+  //     });
46
+  // }
47 47
 
48 48
 
49 49
   function getList(params) {