瀏覽代碼

更新3个视频

shaogen1995 3 月之前
父節點
當前提交
45853b03ee
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 2 2
      Code/public/index.html
  2. 8 0
      Code/src/pages/B1more/S3goods/index.tsx

+ 2 - 2
Code/public/index.html

@@ -25,7 +25,7 @@
 
   <script src="./krpano.js"></script>
 
-  <script>
+  <!-- <script>
     window.onload = function () {
       var script = document.createElement('script')
       script.src = 'https://cdn.bootcss.com/eruda/1.5.4/eruda.min.js'
@@ -34,5 +34,5 @@
         eruda.init()
       }
     }
-  </script>
+  </script> -->
 </html>

+ 8 - 0
Code/src/pages/B1more/S3goods/index.tsx

@@ -51,6 +51,14 @@ function S3goods({ hidden }: Props) {
       name: '全部',
       info: temp
     })
+
+    // console.log('---', arr[0])
+    // if (arr[0] && arr[0].info) {
+    //   arr[0].info.forEach((v: any, i: number) => {
+    //     console.log('更多模块的热点-', i + 1, v.name)
+    //   })
+    // }
+
     return arr
   }, [])