We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当 this.store.set(this.store.data,'apply.form.personAddress',11111) 修改值的时候会在$observerPath下创建新变量 apply.form.personAddress, { $observerPath:'#', apply:{ list:[], form:{id:'',personAddress:''} }, apply.form.personAddress:1111 }
{ $observerPath:'#', apply:{ list:[], form:{id:'',personAddress:''} }, apply.form.personAddress:1111 }
这个时候如果通过apply.form修改了personAddress值,这个时候并不会修改$observerPath生成的'apply.form.personAddress'值,导致重新修改值父判断为未修改
比如
这个时候第三步修改失败, obaa.js onPropertyChanged 判断value等于oldValue 不进行修改
测试 prop = ‘apply.form.personAddress’ this.$observeProps[prop] = 'abvc' // 会创建新key 'apply.form.personAddress':'abvc' this.$observeProps['apply']['form']['unitAddress'] = 'bbbbbbb' // 修改不会信创建信key
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当
this.store.set(this.store.data,'apply.form.personAddress',11111)
修改值的时候会在$observerPath下创建新变量 apply.form.personAddress,
{ $observerPath:'#', apply:{ list:[], form:{id:'',personAddress:''} }, apply.form.personAddress:1111 }
这个时候如果通过apply.form修改了personAddress值,这个时候并不会修改$observerPath生成的'apply.form.personAddress'值,导致重新修改值父判断为未修改
比如
这个时候第三步修改失败,
obaa.js onPropertyChanged 判断value等于oldValue 不进行修改
测试
prop = ‘apply.form.personAddress’
this.$observeProps[prop] = 'abvc' // 会创建新key 'apply.form.personAddress':'abvc'
this.$observeProps['apply']['form']['unitAddress'] = 'bbbbbbb' // 修改不会信创建信key
The text was updated successfully, but these errors were encountered: