Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders.
不要直接修改父组件传递给子组件的props,可以使用基于props的一些变量或者计算属性来获得一些需… 继续阅读 Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders.