Getting avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders

前端 未结 2 1214
花落未央
花落未央 2021-01-22 21:57

I am new to vuejs and I am trying to sync active data to parent but getting an error as

vue.js:523 [Vue warn]: Avoid mutatin

2条回答
  •  温柔的废话
    2021-01-22 22:17

    I hope this is the version problem. please show your VUEJS version, else get the version from below code.

        {{$data |  json}}
        

提交回复
热议问题