在获取仓库中数据时遇到的问题 解决方法: 这个里面只有get方法,没有set方法 将上述代码改为: 参考文章:Computed property “XXX” was assigned to but it has no setter