在主平台中使用iframe签入子平台
子平台的弹框是confirm
但是iframe中调用弹框,会报错
A different origin subframe tried to create a JavaScript dialog. This is no longer allowed and was blocked. See https://www.chromestatus.com/feature/5148698084376576 for more details.
看了下那个网址说明,好像是跨域导致的,chrome不支持alert和confirm纯js的弹框
参考 https://trailblazer.salesforc...