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

属性只能进行浅拷贝 深层嵌套时丢失? #8

Open
pkaq opened this issue May 24, 2018 · 4 comments
Open

属性只能进行浅拷贝 深层嵌套时丢失? #8

pkaq opened this issue May 24, 2018 · 4 comments

Comments

@pkaq
Copy link

pkaq commented May 24, 2018

如题

@benjycui
Copy link
Member

dva model 本来设计就没有嵌套的吧,你的场景是?

@pkaq
Copy link
Author

pkaq commented Jun 30, 2018

{
 data:{
 a:{},
 b:{},
 child:{
    pagination:{}
    list:[]
  }
 }
}

@benjycui
Copy link
Member

benjycui commented Jul 2, 2018

@pkaq 来个 PR,model.data 改为深拷贝。

@guanyuan
Copy link

@pkaq 来个 PR,model.data 改为深拷贝。

#16

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

No branches or pull requests

3 participants