开发者

vue 2.0 同个组件 props 数据被影响了??

上官魅想吃就吃离弦的歌离弦的歌 17小时前

In addition, every time the parent component is updated, all props in the 开发者_Python百科child component will be refreshed with the latest value. This means you should not attempt to mutate a prop inside a child component. If you do, Vue will warn you in the console.via http://vuejs.org/guide/compon...


0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜