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

[BUG]IOS12 router-base下通过pushState切换子应用,切换失败,Attempted to assign to readonly property. #1209

Closed
apiaoqzh opened this issue Jan 13, 2021 · 1 comment · Fixed by #2630

Comments

@apiaoqzh
Copy link

What happens?

在IOS下 router-base注册的子应用,首个子应用正常,loadMicroApp加载子应用正常,通过pushState切换到第二个子应用异常,报Attempted to assign to readonly property问题。因项目为特殊,抱歉只能给出vConsole的打印信息。当前qiankun版本2.3.5
image

Mini Showcase Repository(REQUIRED)

Provide a mini GitHub repository which can reproduce the issue.

How To Reproduce

Steps to reproduce the behavior: 1. 2.
在IOS12下通过pushState切换子应用
Expected behavior 1. 2.

Context

  • qiankun Version:
  • 2.3.5
  • Platform Version:
  • IOS 12.4.9
  • Browser Version:
  • Mozilla/5.0 AppleWebKit/605.1.15
@apiaoqzh
Copy link
Author

apiaoqzh commented Jan 13, 2021

我怕github的图片出不来,我手打一下错误信息.
TypeError: application xxx died in status LOADING_SOURCE_CODE: Attempted to assign to readonly propety.
undefined: 43:97 getTargetValue
getGlobalProp
exec
schedule
schedule
initalizePromise@[native code]
Promise@[native code]
promiseReactionJob@[native code]

@apiaoqzh apiaoqzh changed the title IOS12 router-base下通过pushState切换子应用,切换失败,Attempted to assign to readonly property. [BUG]IOS12 router-base下通过pushState切换子应用,切换失败,Attempted to assign to readonly property. Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant