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
结构是这样的 父组件中
//view {{duration}} // 点击后+1 <ac :count.sync="duration"></ac> <button @tap='add'>+1</button> //script data={ duration: 100 } components = {ac: AC} methods={ add() { this.duration = this.duration + 1; } }
子组件中
// view <view>{{count}}</view> // 点击按钮后 在pc上会+1 在真机上不会变
另外child中props count设置twoWay:true 在真机中也不会同步更新父组件 这是什么原因引起的呢? 在微信开发工具中都是正常的
我的环境是
"wepy": "^1.5.8", "wepy-async-function": "^1.4.4",
The text was updated successfully, but these errors were encountered:
#272 #270
Sorry, something went wrong.
@Gcaufy 多谢
No branches or pull requests
结构是这样的
父组件中
子组件中
另外child中props count设置twoWay:true 在真机中也不会同步更新父组件 这是什么原因引起的呢?
在微信开发工具中都是正常的
我的环境是
The text was updated successfully, but these errors were encountered: