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}