报错内容为:
218:30 This expression is not callable.
Type 'Number' has no call signatures.
216 | let newY: number;
217 | newX = (this as any).x + Math.round((this as any).hasHorizontalScroll ? wheelDeltaX : 0)
> 218 | newY = (this as any).y + Math.round((this as any).hasVerticalScroll ? wheelDeltaY : 0)
218行Math报错了,谷歌了一圈未果
请问,因该怎么改正呢?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…