Javascript I';我在爱奥尼亚4滑块swiper zoom容器中获得任何arror

Javascript I';我在爱奥尼亚4滑块swiper zoom容器中获得任何arror,javascript,html,css,ionic4,swiper,Javascript,Html,Css,Ionic4,Swiper,我在ionic 4中有一个图像模式滑块,我用它作为图像查看器,它可以缩放图像,但当我缩放图像并尝试滑动时,我会出错 滑块代码 <ion-slides [options]="slideOpts" pager="true" #slider zoom="true"> <ion-slide *ngFor="let img of this.imgs"> <div class="swiper-zoom-container"> <img-loader sr

我在ionic 4中有一个图像模式滑块,我用它作为图像查看器,它可以缩放图像,但当我缩放图像并尝试滑动时,我会出错

滑块代码

<ion-slides [options]="slideOpts" pager="true" #slider zoom="true">
<ion-slide *ngFor="let img of this.imgs">
  <div class="swiper-zoom-container">
    <img-loader src="{{ path + img.img }}" useImg></img-loader>
  </div>
</ion-slide>

有人能帮我吗?

参数1不是'Element'类型
但在我的情况下参数1到底是什么?
参数1不是'Element'类型
但在我的情况下参数1到底是什么?
zone.js:199 Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at Object.getTranslate (chunk-f9db771e.js:1)
at t.onTouchMove (chunk-f9db771e.js:1)
at HTMLDivElement.n (chunk-f9db771e.js:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498)
at invokeTask (zone.js:1744)
at HTMLDivElement.globalZoneAwareCallback (zone.js:1781)