Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadIncrementalAssets当前不支持加载具有远程组件描述协议的远程组件 #2213

Open
yzajoee opened this issue Jun 21, 2023 · 1 comment
Assignees
Labels
later Will be worked on later / 问题有效但会延后处理

Comments

@yzajoee
Copy link

yzajoee commented Jun 21, 2023

Describe the bug (required) / 详细描述 bug(必填)

setAssets中会针对具有远程组件描述协议的远程组件自动调用(new AssetLoader()).load(url);(packages\editor-core\src\editor.ts)
但如果通过loadIncrementalAssets加载则没有看到相关调用方法,能不能提供下对应的支持方法?


To Reproduce (required) / 如何复现 bug?(必填,非常重要)

Steps to reproduce the behavior: / 详细复现步骤:


English version example:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

中文版示例:

  1. 打开 demo
  2. 点击标题;
  3. 在右侧修改标题内容为「修改后的标题」;
  4. 渲染画布标题组件没有更新显示为「修改后的标题」;

Expected behavior (required) / 预期行为(必填,非常重要)

A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为


Screenshots (optional) / bug 截图(可选)

Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题


Environments (please complete the following information) (required): / 请提供如下信息(必填)

  • AliLowCodeEngine version: [e.g. 1.0.0] / 低代码引擎版本
  • AliLowCodeEngineExt version: [e.g. 1.0.0] / 低代码引擎扩展包版本
  • Browser [e.g. chrome, safari] / 浏览器版本
  • materials / plugins / tools / 其他物料 / 插件 / 工具链版本

(this information can be collected via the manual plugin / 版本信息可通过低代码用户手册插件收集)

Additional context (optional) / 更多额外信息(可选)

Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题

@yzajoee
Copy link
Author

yzajoee commented Jun 29, 2023

在loadIncrementalAssets中,如果libary资源加载失败,promise的reject回调没有抛出具体日志,可以考虑把具体加载错误的资源路径抛出

@liujuping liujuping added the later Will be worked on later / 问题有效但会延后处理 label Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
later Will be worked on later / 问题有效但会延后处理
Projects
None yet
Development

No branches or pull requests

2 participants