版本为2.10.4
当设置组件的html属性为false的时候,控制台会报错,报错内容如下:
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: "xssOptions"
🐛 Bug Report
版本为2.10.4 当设置组件的html属性为false的时候,控制台会报错,报错内容如下: 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: "xssOptions"
Steps To Reproduce![image](https://user-images.githubusercontent.com/13342063/200712398-ef820e60-b9c2-41e8-b72a-0eb3f795bd09.png)
Screenshots![image](https://user-images.githubusercontent.com/13342063/200712209-17080ae2-971e-44fa-a1d5-cefa5dd94bf2.png)
The expected behaviour 设置html属性不报错