Skip to content

Commit 02eba60

Browse files
author
zhaokai
committed
【问题】【解决Point基本类型导致min无法使用】
1 parent c529e3d commit 02eba60

File tree

1 file changed

+3
-0
lines changed
  • src/service/PlotUtilBase/Geometry

1 file changed

+3
-0
lines changed

src/service/PlotUtilBase/Geometry/Point.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,7 @@ static newAdd(pnt,x,y){
157157
return new Point(pnt.x-x,pnt.y-y)
158158
}
159159
}
160+
if(typeof Zondy.Plot.PlotUtilBase=== 'undefined'){
161+
Zondy.Plot.PlotUtilBase={}
162+
}
160163
Zondy.Plot.PlotUtilBase.Point=Point

0 commit comments

Comments
 (0)