Skip to content

MetingJS v2.0.1 与 overlayscrollbars@1.13.1 存在冲突? #66

@ohmykreee

Description

@ohmykreee
  • 使用版本
    APlayer v1.10.1 af84efb
    MetingJS v2.0.1
    jquery@3.6.0

  • 现象
    APlayer 出现重复
    屏幕截图 2021-10-09 141224
    控制台报错(该报错重复三次):

Uncaught TypeError: Cannot read properties of undefined (reading 'destroy')
    at HTMLElement.disconnectedCallback (Meting.min.js:formatted:30)
    at xe (jquery@3.6.0:formatted:1872)
    at He (jquery@3.6.0:formatted:2284)
    at S.fn.init.append (jquery@3.6.0:formatted:2364)
    at S.fn.init.wrapAll (jquery@3.6.0:formatted:3838)
    at HTMLBodyElement.<anonymous> (jquery@3.6.0:formatted:3847)
    at Function.each (jquery@3.6.0:formatted:160)
    at S.fn.init.each (jquery@3.6.0:formatted:78)
    at S.fn.init.wrapInner (jquery@3.6.0:formatted:3844)
    at at (jquery.overlayScrollbars.min.js:13)

生成的 HTML 代码如下:
屏幕截图 2021-10-09 141939

取消使用 jQuery 后该问题不出现。

(我不会前端,js 代码也不会读,希望各位大佬能帮一帮忙)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions