When i want to change prop in the setter “avoid mutating prop error” shows

前端 未结 0 1820
既然无缘
既然无缘 2021-02-13 17:24

After I pass an array as a prop and trying to change prop in the setter (in computed) It shows me the "avoid mutating prop" error. and here\'s my code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题