Avoid mutating a prop directly since the value will be overwritten whenever the parent component ...

通过 props 传递给子组件的 值,不能在子组件内部修改 props 中的 值,可以通过 this.$emit 来操作。

返回文章列表 打赏
本页链接的二维码
打赏二维码
期待你的评论