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

组件的某个属性默认值是非空对象时会报错(栈溢出) #1327

Closed
ApsarasX opened this issue May 5, 2018 · 3 comments
Closed
Labels
inactive Inactive issue, will be auto closed in 7 days

Comments

@ApsarasX
Copy link

ApsarasX commented May 5, 2018

Description

[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]

props动态传值的时候,如果某一个属性的default是一个对象Object且不为空的时候,会报错

thirdScriptError
Maximum call stack size exceeded;at pages/order-status page lifeCycleMethod onLoad function
image

Environment

  • Platform: 开发者工具
  • Platform version: 1.02.1804251
  • Wechat version: [微信版本号]
  • wepy-cli version: 1.7.2-alpha2
  • wepy version: 1.7.1

Reproduce

[如何重现问题]
可使用以下代码测试
image

@Gcaufy
Copy link
Collaborator

Gcaufy commented May 8, 2018

把data改成xyz试试

@Gcaufy Gcaufy closed this as completed May 8, 2018
@Gcaufy Gcaufy reopened this May 8, 2018
Gcaufy added a commit that referenced this issue May 8, 2018
@stale
Copy link

stale bot commented Jul 7, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. 因为这个 Issue 最近没有任何有效回复,所以被自动标记为了stale。 如果在未来7天依旧没有任何激活操作,那么该 Issue 将会被自动关闭。 感谢您的提问。

@stale stale bot added the inactive Inactive issue, will be auto closed in 7 days label Jul 7, 2018
@Gcaufy Gcaufy closed this as completed Jul 9, 2018
@Gcaufy
Copy link
Collaborator

Gcaufy commented Jul 9, 2018

released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive issue, will be auto closed in 7 days
Projects
None yet
Development

No branches or pull requests

2 participants