如何解决:

 

 

computed: {
addModal: {
get: function () {
return this.$store.state.addModal
},
set: function (newValue) {
this.$store.state.addModal = newValue
}
}
},

 

设置一个set

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
  • 2022-12-23
  • 2022-12-23
  • 2021-05-30
  • 2023-03-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-14
相关资源
相似解决方案