Skip to content

🐛 [Bug]: 发布生产环境后、画布非常卡顿,画布的canvas.js 打包成base64字符插入了iframe,导致解析时间过长,手动更改编译产物后。生产环境变得流畅,该问题影响低代码使用 #1279

@1degrees

Description

@1degrees

Environment

mac os 12.7.6

Version

latest

Version

latest

Link to minimal reproduction

一、低代码引擎平台打包后,画布区域的Iframe 的srcdoc 会塞入整个canvas 编译后的base64字符产物,整个字符大小高达3MB,导致Iframe 解析时间超长,解析时长高达12s(mac pro 2020 intel 顶配)

Step to reproduce

一、画布区域的Iframe 的srcdoc 会塞入整个canvas 编译后的base64字符产物,整个字符大小高达3MB,导致Iframe 解析时间超长,解析时长高达12s

Image Image

What is expected

一、希望编译后iframe 的 srcdoc 中的canvasScript 这个地址以编译后的链接插入其中

Image

What is actually happening

No response

What is your project name

二开项目

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions