Skip to content

@micro-zoe/micro-app 微前端子系统环境下初始化报错 #314

@an501920078

Description

@an501920078

bug 描述(Describe the bug)

对bug是什么的清晰简洁的描述。 (A clear and concise description of what the bug is.)

复现(To Reproduce)

再现步骤(Steps to reproduce the behavior):

  1. 使用@micro-zoe/micro-app创建微前端环境
  2. 子项目中使用ezuikit-js
  3. 打开界面,播放器不能正常播放
  4. 报错
  5. Uncaught (in promise) TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'HTMLDocument'
    | property 'body' -> object with constructor 'HTMLElement'
    --- property 'ownerDocument' closes the circle
    at JSON.stringify ()
    at ezuikit-js.js:30100:426
    at i5._setOptions (ezuikit-js.js:30117:6)
    at new A2 (ezuikit-js.js:29885:537)
    at new A2 (ezuikit-js.js:30214:87)
    at ezuikit-js.js:30393:16
    at new Promise ()
    at _Jn.initEZUIKitPlayer (ezuikit-js.js:30389:14)
    at ezuikit-js.js:31371:14
    at

预期行为(Expected behavior)

正常播放

截图(Screenshots)
Image

PC 请填写以下信息 (please complete the following information):

  • OS: win11
  • Browser edge
  • Version latest

附加上下文(Additional context)
父子项目均是 vue3 + typescript+vite 微前端使用iframe模式

在此处添加有关该问题的任何其他上下文。 (Add any other context about the problem here.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions