he expression ‘userViewModel.getUserName()‘ cannot be inverted, so it cannot be used in a tw

cannot be inverted, so it cannot be used in a two-way binding(不能被双向绑定)

应该是set或者get方法后面的名称不一致导致的。修改候就好了

猜你喜欢

转载自blog.csdn.net/mp624183768/article/details/124893544
今日推荐