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

子应用无法使用剪切板API #1502

Open
rysinal opened this issue Jan 14, 2025 · 1 comment
Open

子应用无法使用剪切板API #1502

rysinal opened this issue Jan 14, 2025 · 1 comment
Labels
Need Reproduction 需要复现步骤

Comments

@rysinal
Copy link

rysinal commented Jan 14, 2025

问题描述

问题的具体描述

复现步骤

子应用执行 navigator.clipboard.writeText('hallo')

上传截图

image

复现仓库

只有一行代码

环境信息

  • micro-app版本:1.0.0-rc.13
  • 主应用前端框架&版本:vue3.2.40
  • 子应用前端框架&版本:vue2.6.11
  • 构建工具&版本:

主应用配置了变量逃逸也不行

microApp.start({
plugins: {
global: [
{ escapeProperties: ['navigator', 'Worker'] }
]
}
});

@timhub66 timhub66 added the Need Reproduction 需要复现步骤 label Jan 14, 2025
Copy link

Hello @rysinal. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository.
您好 @rysinal, 为了方便定位和排查问题,我们需要您提供一个重现实例,请提供一个尽可能精简的 GitHub 仓库地址。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Reproduction 需要复现步骤
Projects
None yet
Development

No branches or pull requests

2 participants