Skip to content

[BUG] 脚本编辑器无法加载引用资源文件大的脚本 #1739

Description

@WhiteSevs

提交前检查

  • 我已经搜索过现有 issues,并尽量用最新 stable 或 beta 版本确认问题仍然存在

问题描述

编辑脚本报错

复现步骤

ScriptCat 版本

v1.5.0-beta.3

系统 / 浏览器及版本

windows11 edge 153.0.4234.32

相关脚本 / 日志 / 截图

{
  "time": "2026-09-12 15:02:50",
  "level": "error",
  "message": "sendResponse error",
  "env": "service_worker",
  "service": "messageServer",
  "error": "Message exceeded maximum allowed size of 64MiB."
}

是否是因为额外多了base64这个字段,导致数据对象会变得更大,我觉得可以删掉base64这个字段,用得到的时候再把content转换成base64就行了

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions