parse icon indicating copy to clipboard operation
parse copied to clipboard

Vue关于prop双向绑定的警告

Open ayaka209 opened this issue 5 years ago • 1 comments

虽然不影响用,总的来说就是prop双向绑定问题吧

uniapp版本比较新会提示这个,可以用vue-cli开个新项目看看

VM146580:1 [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "node"

found in

---> components/un-parse/components/wxParseTemplate1
       components/un-parse/components/wxParseTemplate0

ayaka209 avatar May 19 '19 15:05 ayaka209

了解,空了看看

gaoyia avatar May 19 '19 16:05 gaoyia