chenlei 1 年之前
父節點
當前提交
10201d5de4
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      Code/src/pages/A3banquet/PanoImg/index.tsx

+ 0 - 6
Code/src/pages/A3banquet/PanoImg/index.tsx

@@ -6,10 +6,6 @@ import HotIcon from '@/components/HotIcon'
 import { KrpanoMiddleware, KrpanoMiddlewareMethods } from '@/components/KrpanoMiddleware'
 import { HotSpot, Krpano, Scene, View } from '@dage/krpano'
 
-window.draggbleHotspotEvent = (ath: number, atv: number) => {
-  console.log(`ath: ${ath}, atv: ${atv}`)
-}
-
 function PanoImg() {
   // 0为 第一种模式的热点 其他为第二种
   const [ind, setInd] = useState(-1)
@@ -78,8 +74,6 @@ function PanoImg() {
               onOver={() => setActiveIdx(index)}
               onOut={() => setActiveIdx(-1)}
               onClick={() => setInd(index)}
-              // @ts-ignore
-              onDown="draggable_hotspot()"
             >
               <HotIcon key={index}
                 index={index}